import type { RpcClient } from 'effect/unstable/rpc'; import { RpcGroup } from 'effect/unstable/rpc'; import type { StdTable } from '../db/std-table/table/index.js'; import { StudioSnapshotFailed } from './protocol.js'; declare const StudioRpc_base: RpcGroup.RpcGroup>; }>, import("effect/Schema").NullOr; readonly meta: import("effect/Schema").Struct<{ readonly _e: import("effect/Schema").String; readonly _d: import("effect/Schema").Boolean; readonly _u: import("effect/Schema").String; readonly _s: import("effect/Schema").optional; readonly _c: import("effect/Schema").optional; }>; }>, import("effect/Schema").Struct<{ readonly value: import("effect/Schema").declare; readonly meta: import("effect/Schema").Struct<{ readonly _e: import("effect/Schema").String; readonly _u: import("effect/Schema").String; }>; }>]>>, import("effect/Schema").Union, never, never> | import("effect/unstable/rpc/Rpc").Rpc<"Studio.GetTableSnapshot", import("effect/Schema").Void, import("effect/Schema").Struct<{ readonly _v: import("effect/Schema").Literal<"v2">; readonly kind: import("effect/Schema").Literal<"table">; readonly logicalName: import("effect/Schema").String; readonly topology: import("effect/Schema").Struct<{ readonly primary: import("effect/Schema").Struct<{ readonly pk: import("effect/Schema").String; readonly sk: import("effect/Schema").String; }>; readonly localSecondaryIndexes: import("effect/Schema").$Array>; readonly globalSecondaryIndexes: import("effect/Schema").$Array>; }>; readonly entities: import("effect/Schema").$Array; readonly schema: import("effect/Schema").String; readonly idField: import("effect/Schema").NullOr; readonly primary: import("effect/Schema").Struct<{ readonly pk: import("effect/Schema").$Array; readonly sk: import("effect/Schema").$Array; }>; readonly accessPatterns: import("effect/Schema").$Array; readonly sk: import("effect/Schema").$Array; readonly name: import("effect/Schema").String; readonly kind: import("effect/Schema").Literals; readonly index: import("effect/Schema").optional; }>>; }>>; readonly schemas: import("effect/Schema").$Array; readonly idField: import("effect/Schema").NullOr; readonly versions: import("effect/Schema").$Array; readonly decoded: import("effect/Schema").Codec; readonly transformations: import("effect/Schema").$Array>; readonly unverifiable: import("effect/Schema").$Array>; }>>; }>>; }>, typeof StudioSnapshotFailed, never, never> | import("effect/unstable/rpc/Rpc").Rpc<"Studio.QueryEntities", import("effect/Schema").Struct<{ readonly entity: import("effect/Schema").String; readonly accessPattern: import("effect/Schema").String; readonly pk: import("effect/Schema").$Record; readonly sk: import("effect/Schema").optional; readonly value: import("effect/Schema").$Record; }>, import("effect/Schema").Struct<{ readonly operator: import("effect/Schema").Literals", ">="]>; readonly value: import("effect/Schema").NullOr>; }>, import("effect/Schema").Struct<{ readonly operator: import("effect/Schema").Literal<"between">; readonly value: import("effect/Schema").Tuple, import("effect/Schema").$Record]>; }>]>>; readonly limit: import("effect/Schema").optional; readonly after: import("effect/Schema").optional; readonly meta: import("effect/Schema").Struct<{ readonly _e: import("effect/Schema").String; readonly _d: import("effect/Schema").Boolean; readonly _u: import("effect/Schema").String; readonly _s: import("effect/Schema").optional; readonly _c: import("effect/Schema").optional; }>; }>>; }>, import("effect/Schema").Struct<{ readonly items: import("effect/Schema").$Array; readonly meta: import("effect/Schema").Struct<{ readonly _e: import("effect/Schema").String; readonly _d: import("effect/Schema").Boolean; readonly _u: import("effect/Schema").String; readonly _s: import("effect/Schema").optional; readonly _c: import("effect/Schema").optional; }>; }>>; readonly hasMore: import("effect/Schema").Boolean; }>, import("effect/Schema").Union, never, never>>; export declare class StudioRpc extends StudioRpc_base { static layer(table: StdTable): import("effect/Layer").Layer | import("effect/unstable/rpc/Rpc").Handler<"Studio.GetTableSnapshot"> | import("effect/unstable/rpc/Rpc").Handler<"Studio.QueryEntities">, never, import("../db/db.js").StdTableService>; } export type StudioRpcClient = RpcClient.FromGroup; export {}; //# sourceMappingURL=studio-rpc.d.ts.map