import { UsageRow } from '../core/usage-error';
export interface CodedError<Code = number> extends Error {
    hide?: boolean;
    code?: Code;
    statusCode?: number;
    partialMatches?: UsageRow[];
    body?: string | Record<string, any>;
}
export declare function isCodedError<Code = number>(err: Error): err is CodedError<Code>;
