/** * Lightweight CSS-in-JS system for Tronic SDK * Zero dependencies - Pure DOM manipulation */ export declare type CSSProperties = { [K in keyof CSSStyleDeclaration]?: CSSStyleDeclaration[K] | string | number; }; export interface StyleObject { [selector: string]: CSSProperties | { [keyframeStep: string]: CSSProperties; }; } /** * Convert a style object to CSS string */ export declare function styleObjectToCSS(styles: StyleObject): string; /** * Apply styles directly to an element using CSS properties object */ export declare function applyStylesToElement(element: HTMLElement, styles: CSSProperties): void; /** * Create and inject CSS styles into the document head */ export declare function injectCSS(css: string, id?: string): HTMLStyleElement; /** * Interface for iframe positioning configuration */ export interface IframePositioningConfig { position: 'top-right' | 'bottom-right' | 'bottom-left'; isMobile: boolean; launcherWidth?: number; gap?: number; margin?: number; } /** * Calculate dynamic iframe styles based on current state and launcher position */ export declare function calculateIframeStyles(config: IframePositioningConfig): CSSProperties; /** * Apply transform origin based on launcher position for contextual animations */ export declare function calculateTransformOrigin(position: string): CSSProperties; /** * Apply complete iframe positioning with all necessary styles */ export declare function applyIframePositioning(iframeContainer: HTMLElement, config: IframePositioningConfig): void; /** * Predefined style configurations for the iframe */ export declare const IFRAME_STYLES: { readonly containerBase: CSSProperties; readonly containerHidden: CSSProperties; readonly containerVisible: CSSProperties; readonly animationOriginTopRight: CSSProperties; readonly animationOriginBottomRight: CSSProperties; readonly animationOriginBottomLeft: CSSProperties; readonly animationOriginCenter: CSSProperties; readonly containerNormal: CSSProperties; readonly containerMobile: CSSProperties; readonly containerMobileTopRight: CSSProperties; readonly containerMobileBottomRight: CSSProperties; readonly containerMobileBottomLeft: CSSProperties; readonly iframe: CSSProperties; };