import { TypeOfDarkMode } from './css/theme'; import { _lagunaEvents } from './events/sdk.events'; import { LagunaObject } from './types'; export declare const Encryption: { Encrypt: (value: any, expectedType?: "string" | "object" | "buffer", keyType?: "client" | "server" | "other") => Promise; Decrypt: (value: string, expectedType?: "string" | "object" | "buffer", keyType?: "client" | "server" | "other") => Promise; EncryptBinary: (value: ArrayBuffer) => Promise<{ encryptedBuffer: ArrayBuffer; hash: string; md5: string; }>; DecryptBinary: (value: ArrayBuffer, hash: string) => Promise; HashString: (hashString: any, iterations?: number) => Promise; CompareHash: (storedHash: string, hashString: any) => Promise; }; export * as Storage from './storage/storage.service'; import { Database } from './database'; export { BuildInlineCSS as objectToCssVariables, joinObjects, } from './shared/helpers'; export * from './threads'; export * from './networking'; export * from './events'; export { LagunaProvider, Phone, Tablet, Desktop } from './base'; export { LagunaComponent, LagunaObject, BaseProperties } from './types'; export * from './hooks'; export declare const Theme: { Base: any; Current: any; Update: (theme: LagunaObject) => Promise; DarkMode: (type?: TypeOfDarkMode) => void; DarkModeEnabled: () => any; }; declare const InternalEvents: _lagunaEvents; export { InternalEvents, Database }; export interface DatabaseSchema { name: string; indexes: string[]; } export interface LagunaOptions { encryption?: { clientKey?: string; serverKey?: string; otherKey?: string; }; darkMode?: TypeOfDarkMode; theme?: LagunaObject; keyStorage?: { dbName?: string; }; dataBase?: { dbName: string; version?: number; tables?: DatabaseSchema[]; }; } export declare const InitLaguna: (options?: LagunaOptions) => void;