import * as z from "zod/v3";
import * as components from "../components/index.js";
import { UnkeyError } from "./unkeyerror.js";
/**
 * Error response when an unexpected error occurs on the server. This indicates a problem with Unkey's systems rather than your request.
 *
 * @remarks
 *
 * When you encounter this error:
 * - The request ID in the response can help Unkey support investigate the issue
 * - The error is likely temporary and retrying may succeed
 * - If the error persists, contact Unkey support with the request ID
 */
export type InternalServerErrorResponseData = {
    /**
     * Metadata object included in every API response. This provides context about the request and is essential for debugging, audit trails, and support inquiries. The `requestId` is particularly important when troubleshooting issues with the Unkey support team.
     */
    meta: components.Meta;
    /**
     * Base error structure following Problem Details for HTTP APIs (RFC 7807). This provides a standardized way to carry machine-readable details of errors in HTTP response content.
     */
    error: components.BaseError;
};
/**
 * Error response when an unexpected error occurs on the server. This indicates a problem with Unkey's systems rather than your request.
 *
 * @remarks
 *
 * When you encounter this error:
 * - The request ID in the response can help Unkey support investigate the issue
 * - The error is likely temporary and retrying may succeed
 * - If the error persists, contact Unkey support with the request ID
 */
export declare class InternalServerErrorResponse extends UnkeyError {
    /**
     * Metadata object included in every API response. This provides context about the request and is essential for debugging, audit trails, and support inquiries. The `requestId` is particularly important when troubleshooting issues with the Unkey support team.
     */
    meta: components.Meta;
    /**
     * Base error structure following Problem Details for HTTP APIs (RFC 7807). This provides a standardized way to carry machine-readable details of errors in HTTP response content.
     */
    error: components.BaseError;
    /** The original data that was passed to this error instance. */
    data$: InternalServerErrorResponseData;
    constructor(err: InternalServerErrorResponseData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @internal */
export declare const InternalServerErrorResponse$inboundSchema: z.ZodType<InternalServerErrorResponse, z.ZodTypeDef, unknown>;
//# sourceMappingURL=internalservererrorresponse.d.ts.map