import { z } from "zod"; export declare const MEMORY_CURATED_KINDS: readonly ["note", "runbook"]; export declare const MEMORY_KINDS: readonly ["note", "runbook", "change"]; export declare const MemoryKindSchema: z.ZodEnum<{ change: "change"; note: "note"; runbook: "runbook"; }>; export type MemoryKind = z.infer; export declare const MemoryCuratedKindSchema: z.ZodEnum<{ note: "note"; runbook: "runbook"; }>; export type MemoryCuratedKind = z.infer; export declare const MemoryPathSchema: z.ZodString; export type MemoryPath = z.infer; export declare const MemoryBodySchema: z.ZodString; export type MemoryBody = z.infer; export declare const MemoryDurationSchema: z.ZodString; export type MemoryDuration = z.infer; export declare const MemoryKindFilterSchema: z.ZodPipe>; export declare const MemoryDocumentSchema: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; kind: z.ZodEnum<{ change: "change"; note: "note"; runbook: "runbook"; }>; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; export type MemoryDocument = z.infer; export declare const MemoryDocumentDetailSchema: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; kind: z.ZodEnum<{ change: "change"; note: "note"; runbook: "runbook"; }>; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; body: z.ZodString; }, z.core.$strip>; export type MemoryDocumentDetail = z.infer; export declare const PutProjectMemoryInputSchema: z.ZodObject<{ projectId: z.ZodOptional; path: z.ZodString; body: z.ZodString; kind: z.ZodDefault>; title: z.ZodOptional; }, z.core.$strip>; export type PutProjectMemoryInput = z.infer; export declare const PutProjectMemoryOutputSchema: z.ZodObject<{ document: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; kind: z.ZodEnum<{ change: "change"; note: "note"; runbook: "runbook"; }>; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; body: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type PutProjectMemoryOutput = z.infer; export declare const GetProjectMemoryInputSchema: z.ZodObject<{ projectId: z.ZodOptional; id: z.ZodOptional; path: z.ZodOptional; }, z.core.$strip>; export type GetProjectMemoryInput = z.infer; export declare const GetProjectMemoryOutputSchema: z.ZodObject<{ document: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; kind: z.ZodEnum<{ change: "change"; note: "note"; runbook: "runbook"; }>; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; body: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type GetProjectMemoryOutput = z.infer; export declare const ListProjectMemoryInputSchema: z.ZodObject<{ projectId: z.ZodOptional; kind: z.ZodOptional>>; since: z.ZodOptional; service: z.ZodOptional; pathPrefix: z.ZodOptional; managed: z.ZodOptional>; cursor: z.ZodOptional; limit: z.ZodDefault>; }, z.core.$strip>; export type ListProjectMemoryInput = z.infer; export declare const ListProjectMemoryOutputSchema: z.ZodObject<{ documents: z.ZodArray; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNullable; }, z.core.$strip>; export type ListProjectMemoryOutput = z.infer; export declare const MemorySearchHitSchema: z.ZodObject<{ documentId: z.ZodString; kind: z.ZodEnum<{ change: "change"; note: "note"; runbook: "runbook"; }>; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; snippet: z.ZodString; score: z.ZodNumber; }, z.core.$strip>; export type MemorySearchHit = z.infer; export declare const MemorySearchEmptyVerdictSchema: z.ZodObject<{ calibrated: z.ZodLiteral; minScoreThreshold: z.ZodNumber; queryTerms: z.ZodArray; message: z.ZodString; }, z.core.$strip>; export type MemorySearchEmptyVerdict = z.infer; export declare const SearchProjectMemoryInputSchema: z.ZodObject<{ projectId: z.ZodOptional; query: z.ZodString; kind: z.ZodOptional>>; since: z.ZodOptional; service: z.ZodOptional; pathPrefix: z.ZodOptional; managed: z.ZodOptional>; limit: z.ZodDefault>; }, z.core.$strip>; export type SearchProjectMemoryInput = z.infer; export declare const SearchProjectMemoryOutputSchema: z.ZodObject<{ hits: z.ZodArray; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; snippet: z.ZodString; score: z.ZodNumber; }, z.core.$strip>>; emptyVerdict: z.ZodNullable; minScoreThreshold: z.ZodNumber; queryTerms: z.ZodArray; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; export type SearchProjectMemoryOutput = z.infer; export declare const DeleteProjectMemoryInputSchema: z.ZodObject<{ projectId: z.ZodOptional; id: z.ZodOptional; path: z.ZodOptional; }, z.core.$strip>; export type DeleteProjectMemoryInput = z.infer; export declare const DeleteProjectMemoryOutputSchema: z.ZodVoid; export type DeleteProjectMemoryOutput = z.infer; export declare const putProjectMemory: import("../orpc-contracts/index.js").OperationDefinition; path: z.ZodString; body: z.ZodString; kind: z.ZodDefault>; title: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ document: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; kind: z.ZodEnum<{ change: "change"; note: "note"; runbook: "runbook"; }>; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; body: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, "api">; export declare const getProjectMemory: import("../orpc-contracts/index.js").OperationDefinition; id: z.ZodOptional; path: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ document: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; kind: z.ZodEnum<{ change: "change"; note: "note"; runbook: "runbook"; }>; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; body: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, "api">; export declare const listProjectMemory: import("../orpc-contracts/index.js").OperationDefinition; kind: z.ZodOptional>>; since: z.ZodOptional; service: z.ZodOptional; pathPrefix: z.ZodOptional; managed: z.ZodOptional>; cursor: z.ZodOptional; limit: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ documents: z.ZodArray; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNullable; }, z.core.$strip>, "api">; export declare const searchProjectMemory: import("../orpc-contracts/index.js").OperationDefinition; query: z.ZodString; kind: z.ZodOptional>>; since: z.ZodOptional; service: z.ZodOptional; pathPrefix: z.ZodOptional; managed: z.ZodOptional>; limit: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ hits: z.ZodArray; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; snippet: z.ZodString; score: z.ZodNumber; }, z.core.$strip>>; emptyVerdict: z.ZodNullable; minScoreThreshold: z.ZodNumber; queryTerms: z.ZodArray; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const deleteProjectMemory: import("../orpc-contracts/index.js").OperationDefinition; id: z.ZodOptional; path: z.ZodOptional; }, z.core.$strip>, z.ZodVoid, "api">; export declare const memoryContract: { readonly put: import("@orpc/contract").ContractProcedure; path: z.ZodString; body: z.ZodString; kind: z.ZodDefault>; title: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ document: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; kind: z.ZodEnum<{ change: "change"; note: "note"; runbook: "runbook"; }>; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; body: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly get: import("@orpc/contract").ContractProcedure; id: z.ZodOptional; path: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ document: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; kind: z.ZodEnum<{ change: "change"; note: "note"; runbook: "runbook"; }>; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; body: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly list: import("@orpc/contract").ContractProcedure; kind: z.ZodOptional>>; since: z.ZodOptional; service: z.ZodOptional; pathPrefix: z.ZodOptional; managed: z.ZodOptional>; cursor: z.ZodOptional; limit: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ documents: z.ZodArray; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; contentHash: z.ZodString; attrs: z.ZodRecord; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNullable; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly search: import("@orpc/contract").ContractProcedure; query: z.ZodString; kind: z.ZodOptional>>; since: z.ZodOptional; service: z.ZodOptional; pathPrefix: z.ZodOptional; managed: z.ZodOptional>; limit: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ hits: z.ZodArray; managed: z.ZodBoolean; path: z.ZodNullable; title: z.ZodNullable; snippet: z.ZodString; score: z.ZodNumber; }, z.core.$strip>>; emptyVerdict: z.ZodNullable; minScoreThreshold: z.ZodNumber; queryTerms: z.ZodArray; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly delete: import("@orpc/contract").ContractProcedure; id: z.ZodOptional; path: z.ZodOptional; }, z.core.$strip>, z.ZodVoid, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; };