import { ShowDeprecatedArgs } from './utils'; declare type WarningFunctionType = (( /** warning message */ message: string, /** addition options with that warning */ options?: Pick) => void) | undefined; interface RcConfigurationType { /** is ignore all warning show from juno */ WARNING_IGNORE: boolean; WARNING_FUNCTION: WarningFunctionType; } /** * config global setting * * ```ts * configure({ * warning: false * }) * ``` * ## WARNING related method and only work in `development mode` * * `WARNING_IGNORE`: only work in `development mode` * `WARNING_FUNCTION` only work in `development mode` */ declare let rcConfiguration: RcConfigurationType; declare type RcConfigure = { /** is show warning message in development */ warning?: boolean; /** custom warning callback */ warningFunction?: WarningFunctionType; }; /** * set config with Juno * * ## WARNING method only work in `development mode` */ export declare const configure: (options: RcConfigure) => void; export { rcConfiguration }; export type { WarningFunctionType };