export declare function with_dimensions(f: (_: { width: number; height: number; }) => T): T; export declare function with_platform(f: (_: 'ios' | 'android' | 'web') => T): T; export declare function with_windowevents(f: (_: { add: (type: string, f: () => void) => void; remove: (type: string, f: () => void) => void; }) => T): T; export declare function with_html_classes(f: (_: { add: (c: string) => void; remove: (c: string) => void; }) => T): T; export declare function with_document_title(f: (_: { get: () => string; set: (_: string) => void; }) => T): T; export declare function with_html_attributes(f: (_: { get: (_: string) => string; set: (_: string, __: string) => void; }) => T): T; export declare function with_storage(f: (_: { get: (_: string) => Promise; set: (key: string, val: string) => Promise; }) => T): T;