import { ApiCheck, ApiCheckResult, ApiCheckFilter, CreateApiCheckInput, UpdateApiCheckInput } from "../types/index.js";
export declare function createApiCheck(input: CreateApiCheckInput): ApiCheck;
export declare function getApiCheck(id: string): ApiCheck | null;
export declare function listApiChecks(filter?: ApiCheckFilter): ApiCheck[];
export declare function updateApiCheck(id: string, updates: UpdateApiCheckInput, version: number): ApiCheck;
export declare function deleteApiCheck(id: string): boolean;
export declare function countApiChecks(filter?: ApiCheckFilter): number;
export declare function createApiCheckResult(input: {
    checkId: string;
    runId?: string;
    status: "passed" | "failed" | "error";
    statusCode?: number;
    responseTimeMs?: number;
    responseBody?: string;
    responseHeaders?: Record<string, string>;
    error?: string;
    assertionsPassed?: string[];
    assertionsFailed?: string[];
    metadata?: Record<string, unknown>;
}): ApiCheckResult;
export declare function getApiCheckResult(id: string): ApiCheckResult | null;
export declare function listApiCheckResults(checkId: string, opts?: {
    limit?: number;
    offset?: number;
}): ApiCheckResult[];
export declare function getLatestApiCheckResult(checkId: string): ApiCheckResult | null;
export declare function countApiCheckResults(checkId: string): number;
//# sourceMappingURL=api-checks.d.ts.map