import type { GatewayErrorCode } from './GatewayErrorCode'; import type { GatewayErrorDetails } from './GatewayErrorDetails'; export interface GatewayError { code: GatewayErrorCode; details?: GatewayErrorDetails | null; error: string; } export declare function instanceOfGatewayError(value: object): value is GatewayError; export declare function GatewayErrorFromJSON(json: any): GatewayError; export declare function GatewayErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayError; export declare function GatewayErrorToJSON(json: any): GatewayError; export declare function GatewayErrorToJSONTyped(value?: GatewayError | null, ignoreDiscriminator?: boolean): any;