import type { KVMap } from "../../types/MockKVNamespace";
export declare function getWithMetadataHandler(data: KVMap): (key: string, opts?: {
    type?: "text" | "json";
}) => Promise<{
    value: string | Record<string, unknown> | unknown[] | null;
    metadata: unknown;
} | null>;
