import type { RunContext } from './approval-bus.js';
export type MemoryOp = 'query' | 'save' | 'list' | 'delete';
export type MemoryResult = {
    ok: true;
    result: unknown;
} | {
    ok: false;
    error: string;
};
export declare function handleMemoryOp(op: string, payload: Record<string, unknown>, ctx: RunContext): Promise<MemoryResult>;
//# sourceMappingURL=memory-rpc.d.ts.map