export declare function error(msg: string): Error; export declare function errorFmt Error>(template: string): F; export declare const errorInvalid: (obj: any, what: string) => Error; export declare const errorInvalidType: (obj: any, what: string) => Error; export declare const errorNotInEnv: (id: string) => Error; export declare const errorExpReq: (key: string, type: string) => Error; export declare const errorStmnReq: (key: string, type: string) => Error;