/** FireStore Database Config JSON Format. Same as IR8Config. */ export declare type IR8ConfigFS = IR8Config; /** * Config Dico used by user,etab,staff,.... * */ export interface IR8Config { language?: string; theme?: string; carteTabsLines?: number; carteTabsColumns?: number; configs?: { [key: string]: any; }; } export declare function ConfigInitialValue(): Partial; /** Default Validation Config * Throw Error if fail */ export declare function CheckConfigIsValid(Obj: Partial | Partial): void; /** Default Validation Config * return Error message if failure */ export declare function ConfigIsValid(Obj: Partial | Partial): string; /** Serialize IR8Config to Firestore JSON */ export declare function Config2JSON(Obj: Partial): IR8ConfigFS; /** Serialize Firestore JSON to IR8Config. json can be undefined */ export declare function JSON2Config(json: Partial | undefined, target: IR8Config): void; /** New Config from Firestore JSON */ export declare function JSONAsConfig(json?: Partial): IR8Config;