UNPKG

581 BTypeScriptView Raw
1import { IonicConfig } from '../interface';
2export declare class Config {
3 private m;
4 reset(configObj: IonicConfig): void;
5 get(key: keyof IonicConfig, fallback?: any): any;
6 getBoolean(key: keyof IonicConfig, fallback?: boolean): boolean;
7 getNumber(key: keyof IonicConfig, fallback?: number): number;
8 set(key: keyof IonicConfig, value: any): void;
9}
10export declare const config: Config;
11export declare const configFromSession: (win: Window) => any;
12export declare const saveConfig: (win: Window, c: any) => void;
13export declare const configFromURL: (win: Window) => any;