import { Schema } from 'effect'; import { Rpc } from 'effect/unstable/rpc'; export declare const GetEntityPayloadSchema: Schema.Struct<{ readonly entity: Schema.String; readonly key: Schema.optional>; }>; export declare const QueryEntitiesPayloadSchema: Schema.Struct<{ readonly entity: Schema.String; readonly accessPattern: Schema.String; readonly pk: Schema.$Record; readonly sk: Schema.optional; readonly value: Schema.$Record; }>, Schema.Struct<{ readonly operator: Schema.Literals", ">="]>; readonly value: Schema.NullOr>; }>, Schema.Struct<{ readonly operator: Schema.Literal<"between">; readonly value: Schema.Tuple, Schema.$Record]>; }>]>>; readonly limit: Schema.optional; readonly after: Schema.optional; readonly meta: Schema.Struct<{ readonly _e: Schema.String; readonly _d: Schema.Boolean; readonly _u: Schema.String; readonly _s: Schema.optional; readonly _c: Schema.optional; }>; }>>; }>; export type GetEntityPayload = typeof GetEntityPayloadSchema.Type; export type QueryEntitiesPayload = typeof QueryEntitiesPayloadSchema.Type; export interface StudioValidationIssue { readonly path: readonly string[]; readonly message: string; } declare const StudioUnknownEntity_base: Schema.Class, import("effect/Cause").YieldableError>; export declare class StudioUnknownEntity extends StudioUnknownEntity_base { } declare const StudioWrongEntityKind_base: Schema.Class; readonly actual: Schema.Literals; }>, import("effect/Cause").YieldableError>; export declare class StudioWrongEntityKind extends StudioWrongEntityKind_base { } declare const StudioUnknownAccessPattern_base: Schema.Class, import("effect/Cause").YieldableError>; export declare class StudioUnknownAccessPattern extends StudioUnknownAccessPattern_base { } declare const StudioInvalidInput_base: Schema.Class; readonly message: Schema.String; }>>; }>, import("effect/Cause").YieldableError>; export declare class StudioInvalidInput extends StudioInvalidInput_base { } declare const StudioEntityCodecFailed_base: Schema.Class; }>, import("effect/Cause").YieldableError>; export declare class StudioEntityCodecFailed extends StudioEntityCodecFailed_base { } declare const StudioReadFailed_base: Schema.Class; }>, import("effect/Cause").YieldableError>; export declare class StudioReadFailed extends StudioReadFailed_base { } declare const StudioSnapshotFailed_base: Schema.Class, import("effect/Cause").YieldableError>; export declare class StudioSnapshotFailed extends StudioSnapshotFailed_base { } export declare const GetTableSnapshotRpc: Rpc.Rpc<"Studio.GetTableSnapshot", Schema.Void, Schema.Struct<{ readonly _v: Schema.Literal<"v2">; readonly kind: Schema.Literal<"table">; readonly logicalName: Schema.String; readonly topology: Schema.Struct<{ readonly primary: Schema.Struct<{ readonly pk: Schema.String; readonly sk: Schema.String; }>; readonly localSecondaryIndexes: Schema.$Array>; readonly globalSecondaryIndexes: Schema.$Array>; }>; readonly entities: Schema.$Array; readonly schema: Schema.String; readonly idField: Schema.NullOr; readonly primary: Schema.Struct<{ readonly pk: Schema.$Array; readonly sk: Schema.$Array; }>; readonly accessPatterns: Schema.$Array; readonly sk: Schema.$Array; readonly name: Schema.String; readonly kind: Schema.Literals; readonly index: Schema.optional; }>>; }>>; readonly schemas: Schema.$Array; readonly idField: Schema.NullOr; readonly versions: Schema.$Array; readonly decoded: Schema.Codec; readonly transformations: Schema.$Array>; readonly unverifiable: Schema.$Array>; }>>; }>>; }>, typeof StudioSnapshotFailed, never, never>; export declare const GetEntityRpc: Rpc.Rpc<"Studio.GetEntity", Schema.Struct<{ readonly entity: Schema.String; readonly key: Schema.optional>; }>, Schema.NullOr; readonly meta: Schema.Struct<{ readonly _e: Schema.String; readonly _d: Schema.Boolean; readonly _u: Schema.String; readonly _s: Schema.optional; readonly _c: Schema.optional; }>; }>, Schema.Struct<{ readonly value: Schema.declare; readonly meta: Schema.Struct<{ readonly _e: Schema.String; readonly _u: Schema.String; }>; }>]>>, Schema.Union, never, never>; export declare const QueryEntitiesRpc: Rpc.Rpc<"Studio.QueryEntities", Schema.Struct<{ readonly entity: Schema.String; readonly accessPattern: Schema.String; readonly pk: Schema.$Record; readonly sk: Schema.optional; readonly value: Schema.$Record; }>, Schema.Struct<{ readonly operator: Schema.Literals", ">="]>; readonly value: Schema.NullOr>; }>, Schema.Struct<{ readonly operator: Schema.Literal<"between">; readonly value: Schema.Tuple, Schema.$Record]>; }>]>>; readonly limit: Schema.optional; readonly after: Schema.optional; readonly meta: Schema.Struct<{ readonly _e: Schema.String; readonly _d: Schema.Boolean; readonly _u: Schema.String; readonly _s: Schema.optional; readonly _c: Schema.optional; }>; }>>; }>, Schema.Struct<{ readonly items: Schema.$Array; readonly meta: Schema.Struct<{ readonly _e: Schema.String; readonly _d: Schema.Boolean; readonly _u: Schema.String; readonly _s: Schema.optional; readonly _c: Schema.optional; }>; }>>; readonly hasMore: Schema.Boolean; }>, Schema.Union, never, never>; export {}; //# sourceMappingURL=protocol.d.ts.map