export interface ProblemDetailsOptions { /** Include only the request pathname as `instance`. Query strings are never included. Default false. */ readonly includeInstance?: boolean; /** Prefix for code-specific problem types. Default `about:blank`. */ readonly typeBase?: string; /** Maximum JSON error body inspected. Default 64 KiB. */ readonly maxBytes?: number; } /** * Opt-in RFC 9457 formatting for Nifra's structured error envelope. * * The default `{ ok: false, error }` response remains unchanged. This plugin only converts that * framework envelope, so custom JSON errors and already-formatted problem documents pass through. * Raw JSON error Responses are supported through a capped clone; encoded responses are never drained. */ export declare function problemDetails(options?: ProblemDetailsOptions): import("@nifrajs/core").IdentityPlugin; //# sourceMappingURL=problem-details.d.ts.map