Rocky_Mountain_Vending/.pnpm-store/v10/files/8e/03a93a4dc2ed57c71ef35922a2a98f8df54fcc51a0b3419e3a232ba3066f6af1ce98c55a8b09d665552ebaaabf17c10415f51c8414042494f9a121936f5570
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

28 lines
1.1 KiB
Text

/**
* Implement a factory allowing to plug different implementations of suffix
* lookup (e.g.: using a trie or the packed hashes datastructures). This is used
* and exposed in `tldts.ts` and `tldts-experimental.ts` bundle entrypoints.
*/
import { IPublicSuffix, ISuffixLookupOptions } from './lookup/interface';
import { IOptions } from './options';
export interface IResult {
hostname: string | null;
isIp: boolean | null;
subdomain: string | null;
domain: string | null;
publicSuffix: string | null;
domainWithoutSuffix: string | null;
isIcann: boolean | null;
isPrivate: boolean | null;
}
export declare function getEmptyResult(): IResult;
export declare function resetResult(result: IResult): void;
export declare const enum FLAG {
HOSTNAME = 0,
IS_VALID = 1,
PUBLIC_SUFFIX = 2,
DOMAIN = 3,
SUB_DOMAIN = 4,
ALL = 5
}
export declare function parseImpl(url: string, step: FLAG, suffixLookup: (_1: string, _2: ISuffixLookupOptions, _3: IPublicSuffix) => void, partialOptions: Partial<IOptions>, result: IResult): IResult;