import { Config, StorageData } from "../config/types.js"; import { HandlerArguments, HandlerReturn } from "../utils/handlers.js"; type Check = { state: "success" | "failed"; method: "get" | "set" | "update" | "delete" | null; message: string; }; export declare function testField(received: StorageData | null | undefined, expected: StorageData | null | undefined, field: "k1" | "state" | "pubkey" | "sig" | "success"): Check; export declare function testSet(setMethod: () => Promise, config: Config): Promise; export declare function testGet(expectedSession: { k1: string; state: string; }, getMethod: () => Promise, config: Config): Promise; export declare function testUpdate(expectedSession: { k1: string; state: string; }, updateMethod: (override?: string) => Promise, getMethod: () => Promise, config: Config): Promise; export declare function testDelete(deleteMethod: () => Promise, getMethod: () => Promise, config: Config): Promise; export default function handler({ query, cookies, url, config, }: HandlerArguments): Promise; export {}; //# sourceMappingURL=diagnostics.d.ts.map