declare function attachWidget({ url, position, theme, size }: WidgetConfig): void; declare type CSSSizeValue = `${number}${CSSUnit}`; declare type CSSUnit = 'px' | 'rem' | 'em' | 'pt' | 'cm' | '%' | 'mm' | 'Q' | 'in' | 'pc' | 'vh' | 'vw' | 'vmin' | 'vmax' | 'ex' | 'ch'; declare function destroyGPC(): void; declare function destroyWidget(): void; declare function hideWidget(): void; declare type Position = PositionString | PositionObject; declare type PositionObject = { top?: CSSSizeValue; left?: CSSSizeValue; right?: CSSSizeValue; bottom?: CSSSizeValue; zIndex?: number; }; declare type PositionString = 'tr' | 'tl' | 'br' | 'bl'; declare function showWidget(): void; export declare const store: { init: () => void; destroy: typeof destroyGPC; }; export declare const widget: { attach: typeof attachWidget; destroy: typeof destroyWidget; show: typeof showWidget; hide: typeof hideWidget; }; declare interface WidgetConfig { url: string; position: Position; theme?: WidgetTheme; size?: WidgetSize; } declare type WidgetSize = 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl'; declare type WidgetTheme = 'primary' | 'secondary' | 'tertiary' | 'dark' | 'light' | ''; export { }