import { Handler } from '..'; import { BaseConfig } from '../types/config'; /** * Create configs */ export declare namespace config { /** * Set a base follows by other configurations */ const base: (prefix: T, config?: BaseConfig) => { prefix: T; guards?: Handler[]; layers?: Handler[]; wraps?: Handler[]; reject?: Handler; default?: BaseConfig; }; /** * A type-safe wrapper for handler functions */ const fn: []>(...h: T) => T; }