import { Appearance } from '../types/checkout/CheckoutConfig.type'; import { CheckoutProfile } from '../types/checkout/CheckoutProfile.type'; interface CheckoutProfileState extends Record { checkoutProfile?: CheckoutProfile; isLoading: boolean; error: string | null; } /** * Converts appearance configuration to checkout profile format */ export declare function appearanceToCheckoutProfile(appearance: Appearance): CheckoutProfile; /** * Creates a checkout profile manager * Fetches and manages checkout profile data */ export declare function createCheckoutProfile({ appearance, }: { appearance?: Appearance; }): { getState: () => Readonly; subscribe: (callback: (state: Readonly) => void) => () => void; updateProfile: (newAppearance: Appearance) => void; reload: () => Promise; }; export {}; //# sourceMappingURL=createCheckoutProfile.d.ts.map