export type ProviderValidation<T> = {
    ok: true;
    output: T;
} | {
    ok: false;
    message: string;
};
export declare function providerRecord(value: unknown): ProviderValidation<Record<string, unknown>>;
export declare function booleanField(record: Readonly<Record<string, unknown>>, field: string): boolean | undefined;
export declare function finiteNumberField(record: Readonly<Record<string, unknown>>, field: string): number | undefined;
export declare function nonNegativeIntegerField(record: Readonly<Record<string, unknown>>, field: string): number | undefined;
export declare function stringField(record: Readonly<Record<string, unknown>>, field: string): string | undefined;
export declare function stringArrayField(record: Readonly<Record<string, unknown>>, field: string): readonly string[] | undefined;
export declare function providerRejectedMessage(toolId: string): string;
export declare function providerContractMessage(toolId: string): string;
