export declare function throwErrorWithParameters(name: string, parameters?: object): Promise; export declare function throwError(name: string): never;