export declare function illegalArgument(name?: string): Error; export declare function illegalState(name?: string): Error;