import type { FlagConfig } from "./feature-flags"; export interface ProductPreorderState { state: NewEndpointPreorderState; waitlist: { id: string; selling_plan_id: string | null; display_dispatch_date: string; payment_plan_descriptions: { long: string; short: string; } | null; units_left: number; compatible_checkouts: ("purple_dot" | "native")[]; } | null; } export declare function fetchProductsPreorderState(handle: string): Promise; export type NewEndpointPreorderState = "NO_OPEN_WAITLISTS" | "AVAILABLE_IN_STOCK" | "ON_PREORDER" | "SOLD_OUT"; export interface VariantPreorderState { state: NewEndpointPreorderState; waitlist: { id: string; selling_plan_id: string | null; display_dispatch_date: string; payment_plan_descriptions: { long: string; short: string; } | null; units_left: number; compatible_checkouts: ("purple_dot" | "native")[]; } | null; product: { id: string; handle: string; }; } export declare function fetchVariantsPreorderState(variantId: string | number): Promise; interface IntegrationSettings { flags: FlagConfig[]; } export declare function fetchIntegrationSettings(): Promise; export {};