import { HARNESS_CODES, type HarnessCode, type HarnessFailure } from "@oscharko-dev/keiko-contracts";
export { HARNESS_CODES };
export type { HarnessCode };
export declare abstract class HarnessError extends Error {
    abstract readonly code: HarnessCode;
    constructor(message: string, secrets?: readonly string[]);
}
export declare class LimitExceededError extends HarnessError {
    readonly code: HarnessCode;
    constructor(code: HarnessCode, message: string, secrets?: readonly string[]);
}
export declare class HarnessModelError extends HarnessError {
    readonly code: "HARNESS_MODEL_ERROR";
}
export declare class HarnessToolError extends HarnessError {
    readonly code: "HARNESS_TOOL_ERROR";
}
export declare class HarnessInternalError extends HarnessError {
    readonly code: "HARNESS_INTERNAL";
}
export declare function toFailure(category: HarnessCode, message: string, detail?: string): HarnessFailure;
//# sourceMappingURL=harness.d.ts.map