export declare const viewUrl: { product: (uuid: string) => string; store: (uuid: string) => string; order: (uuid: string) => string; designs: () => string; }; export declare function isRecord(v: unknown): v is Record; /** Read the first present string value among candidate keys. */ export declare function str(obj: unknown, ...keys: string[]): string | undefined; /** Read the first present number value among candidate keys. */ export declare function num(obj: unknown, ...keys: string[]): number | undefined; /** Read a provider VARIANT id, which is numeric on Printful/Printify but a STRING productUid on * Gelato (e.g. "phonecase_apple_iphone-16_tough_white_glossy"). Returns a number for all-digit * values, otherwise the raw string — NEVER coerces a non-numeric id to 0 (which silently drops * Gelato variants and skips their mockup). The platform's preview/create/variant endpoints compare * variant ids AS STRINGS, so passing the string through works for every provider. */ export declare function variantRef(obj: unknown, ...keys: string[]): number | string | undefined; /** Read the first present boolean among candidate keys. */ export declare function bool(obj: unknown, ...keys: string[]): boolean | undefined; /** Coerce a value that might be an array, or `{items|data|results: [...]}`, or a bare object, * into an array. Tolerant of the several envelope shapes the API uses across endpoints. */ export declare function asArray(raw: unknown, ...envelopeKeys: string[]): unknown[]; /** Total count for a paginated list: explicit `total`, else the page length. */ export declare function total(raw: unknown, pageLength: number): number;