export declare const reqPutDoc: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-put-doc"; auth?: { type: "clerk" | "device-id" | "ucan"; token: string; } | undefined; ownerHandle: string; appSlug: string; dbName: string; doc: Record; docId?: string | undefined; adminMode?: boolean | undefined; }, {}>; export type ReqPutDoc = typeof reqPutDoc.infer; export declare function isReqPutDoc(obj: unknown): obj is ReqPutDoc; export declare const resPutDoc: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-put-doc"; status: "ok"; id: string; }, {}>; export type ResPutDoc = typeof resPutDoc.infer; export declare function isResPutDoc(obj: unknown): obj is ResPutDoc; export declare const reqGetDoc: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-get-doc"; auth?: { type: "clerk" | "device-id" | "ucan"; token: string; } | undefined; ownerHandle: string; appSlug: string; dbName: string; docId: string; adminMode?: boolean | undefined; }, {}>; export type ReqGetDoc = typeof reqGetDoc.infer; export declare function isReqGetDoc(obj: unknown): obj is ReqGetDoc; export declare const resGetDoc: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-get-doc"; status: "ok"; id: string; doc: Record; }, {}>; export type ResGetDoc = typeof resGetDoc.infer; export declare function isResGetDoc(obj: unknown): obj is ResGetDoc; export declare const resGetDocNotFound: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-get-doc"; status: "not-found"; id: string; }, {}>; export type ResGetDocNotFound = typeof resGetDocNotFound.infer; export declare function isResGetDocNotFound(obj: unknown): obj is ResGetDocNotFound; export declare const queryFilter: import("arktype/internal/variants/object.ts").ObjectType<{ field: string; key?: unknown; keys?: unknown[] | undefined; range?: [unknown, unknown] | undefined; }, {}>; export type QueryFilter = typeof queryFilter.infer; export declare const reqQueryDocs: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-query-docs"; auth?: { type: "clerk" | "device-id" | "ucan"; token: string; } | undefined; ownerHandle: string; appSlug: string; dbName: string; filter?: { field: string; key?: unknown; keys?: unknown[] | undefined; range?: [unknown, unknown] | undefined; } | undefined; adminMode?: boolean | undefined; }, {}>; export type ReqQueryDocs = typeof reqQueryDocs.infer; export declare function isReqQueryDocs(obj: unknown): obj is ReqQueryDocs; export declare const resQueryDocs: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-query-docs"; status: "ok"; docs: { [x: string]: unknown; _id: string; }[]; }, {}>; export type ResQueryDocs = typeof resQueryDocs.infer; export declare function isResQueryDocs(obj: unknown): obj is ResQueryDocs; export declare const reqDeleteDoc: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-delete-doc"; auth: { type: "clerk" | "device-id" | "ucan"; token: string; }; ownerHandle: string; appSlug: string; dbName: string; docId: string; adminMode?: boolean | undefined; }, {}>; export type ReqDeleteDoc = typeof reqDeleteDoc.infer; export declare function isReqDeleteDoc(obj: unknown): obj is ReqDeleteDoc; export declare const resDeleteDoc: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-delete-doc"; status: "ok"; id: string; }, {}>; export type ResDeleteDoc = typeof resDeleteDoc.infer; export declare function isResDeleteDoc(obj: unknown): obj is ResDeleteDoc; export declare const reqSubscribeDocs: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-subscribe-docs"; auth?: { type: "clerk" | "device-id" | "ucan"; token: string; } | undefined; ownerHandle: string; appSlug: string; dbName: string; }, {}>; export type ReqSubscribeDocs = typeof reqSubscribeDocs.infer; export declare function isReqSubscribeDocs(obj: unknown): obj is ReqSubscribeDocs; export declare const resSubscribeDocs: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-subscribe-docs"; status: "ok"; }, {}>; export type ResSubscribeDocs = typeof resSubscribeDocs.infer; export declare function isResSubscribeDocs(obj: unknown): obj is ResSubscribeDocs; export declare const reqSubscribeViewerGrants: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-subscribe-viewer-grants"; auth: { type: "clerk" | "device-id" | "ucan"; token: string; }; ownerHandle: string; appSlug: string; }, {}>; export type ReqSubscribeViewerGrants = typeof reqSubscribeViewerGrants.infer; export declare function isReqSubscribeViewerGrants(obj: unknown): obj is ReqSubscribeViewerGrants; export declare const resSubscribeViewerGrants: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-subscribe-viewer-grants"; status: "ok"; }, {}>; export type ResSubscribeViewerGrants = typeof resSubscribeViewerGrants.infer; export declare function isResSubscribeViewerGrants(obj: unknown): obj is ResSubscribeViewerGrants; export declare const reqListDbNames: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-list-db-names"; auth: { type: "clerk" | "device-id" | "ucan"; token: string; }; ownerHandle: string; appSlug: string; adminMode?: boolean | undefined; }, {}>; export type ReqListDbNames = typeof reqListDbNames.infer; export declare function isReqListDbNames(obj: unknown): obj is ReqListDbNames; export declare const resListDbNames: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-list-db-names"; status: "ok"; dbNames: string[]; }, {}>; export type ResListDbNames = typeof resListDbNames.infer; export declare function isResListDbNames(obj: unknown): obj is ResListDbNames; export declare const evtDocChanged: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.evt-doc-changed"; ownerHandle: string; appSlug: string; dbName: string; docId: string; channel?: string | undefined; }, {}>; export type EvtDocChanged = typeof evtDocChanged.infer; export declare function isEvtDocChanged(obj: unknown): obj is EvtDocChanged; export declare const reqBroadcastEphemeral: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-broadcast-ephemeral"; auth?: { type: "clerk" | "device-id" | "ucan"; token: string; } | undefined; ownerHandle: string; appSlug: string; dbName: string; docId: string; doc: Record; }, {}>; export type ReqBroadcastEphemeral = typeof reqBroadcastEphemeral.infer; export declare function isReqBroadcastEphemeral(obj: unknown): obj is ReqBroadcastEphemeral; export declare const evtDocEphemeral: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.evt-doc-ephemeral"; ownerHandle: string; appSlug: string; dbName: string; docId: string; originPeer: string; doc: Record; channel?: string | undefined; }, {}>; export type EvtDocEphemeral = typeof evtDocEphemeral.infer; export declare function isEvtDocEphemeral(obj: unknown): obj is EvtDocEphemeral; export declare const evtDocEphemeralDrop: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.evt-doc-ephemeral-drop"; originPeer: string; }, {}>; export type EvtDocEphemeralDrop = typeof evtDocEphemeralDrop.infer; export declare function isEvtDocEphemeralDrop(obj: unknown): obj is EvtDocEphemeralDrop; export declare const evtWriteOutcome: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.evt-write-outcome"; outcome: "failed" | "queued" | "rejected"; docId: string; code?: string | undefined; message?: string | undefined; }, {}>; export type EvtWriteOutcome = typeof evtWriteOutcome.infer; export declare function isEvtWriteOutcome(obj: unknown): obj is EvtWriteOutcome; export declare const evtViewerGrantsChanged: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.evt-viewer-grants-changed"; ownerHandle: string; appSlug: string; }, {}>; export type EvtViewerGrantsChanged = typeof evtViewerGrantsChanged.infer; export declare function isEvtViewerGrantsChanged(obj: unknown): obj is EvtViewerGrantsChanged; export declare const evtCommentPosted: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.evt-comment-posted"; userId: string; ownerHandle: string; appSlug: string; docId: string; created: string; email?: string | undefined; }, {}>; export type EvtCommentPosted = typeof evtCommentPosted.infer; export declare function isEvtCommentPosted(obj: unknown): obj is EvtCommentPosted; export declare const evtRemixCloneNotify: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.evt-remix-clone-notify"; ownerHandle: string; appSlug: string; }, {}>; export type EvtRemixCloneNotify = typeof evtRemixCloneNotify.infer; export declare function isEvtRemixCloneNotify(obj: unknown): obj is EvtRemixCloneNotify; export declare const evtDmReceived: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.evt-dm-received"; senderUserId: string; senderUserSlug: string; recipientUserSlug: string; channelUserSlug: string; docId: string; created: string; bodySnippet?: string | undefined; }, {}>; export type EvtDmReceived = typeof evtDmReceived.infer; export declare function isEvtDmReceived(obj: unknown): obj is EvtDmReceived; export declare const reqListDmThreads: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-list-dm-threads"; auth: { type: "clerk" | "device-id" | "ucan"; token: string; }; pager?: { limit?: number | undefined; cursor?: string | undefined; } | undefined; }, {}>; export type ReqListDmThreads = typeof reqListDmThreads.infer; export declare function isReqListDmThreads(obj: unknown): obj is ReqListDmThreads; export declare const dmThreadItem: import("arktype/internal/variants/object.ts").ObjectType<{ channelUserSlug: string; otherUserSlug: string; latestSeq: number; unreadCount: number; latestMessage?: { body: string; createdAt: string; authorHandle: string; } | undefined; }, {}>; export type DmThreadItem = typeof dmThreadItem.infer; export declare const resListDmThreads: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-list-dm-threads"; status: "ok"; items: { channelUserSlug: string; otherUserSlug: string; latestSeq: number; unreadCount: number; latestMessage?: { body: string; createdAt: string; authorHandle: string; } | undefined; }[]; }, {}>; export type ResListDmThreads = typeof resListDmThreads.infer; export declare function isResListDmThreads(obj: unknown): obj is ResListDmThreads; export declare const reqMarkDmRead: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-mark-dm-read"; auth: { type: "clerk" | "device-id" | "ucan"; token: string; }; channelUserSlug: string; lastSeenSeq: number; }, {}>; export type ReqMarkDmRead = typeof reqMarkDmRead.infer; export declare function isReqMarkDmRead(obj: unknown): obj is ReqMarkDmRead; export declare const resMarkDmRead: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-mark-dm-read"; status: "ok"; }, {}>; export type ResMarkDmRead = typeof resMarkDmRead.infer; export declare function isResMarkDmRead(obj: unknown): obj is ResMarkDmRead; export declare const syncEntry: import("arktype/internal/variants/object.ts").ObjectType<{ kind: "delete" | "evict" | "put"; docId: string; syncSeq: number; seq?: number | undefined; doc?: Record | undefined; channel?: string | undefined; channels?: string[] | undefined; }, {}>; export type SyncEntry = typeof syncEntry.infer; export declare function isSyncEntry(obj: unknown): obj is SyncEntry; export declare const reqSyncPull: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-sync-pull"; auth?: { type: "clerk" | "device-id" | "ucan"; token: string; } | undefined; ownerHandle: string; appSlug: string; dbName: string; cursors: Record; adminMode?: boolean | undefined; actingHandle?: string | undefined; }, {}>; export type ReqSyncPull = typeof reqSyncPull.infer; export declare function isReqSyncPull(obj: unknown): obj is ReqSyncPull; export declare const resSyncPull: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-sync-pull"; status: "ok"; mode: "incremental" | "snapshot"; entries: { kind: "delete" | "evict" | "put"; docId: string; syncSeq: number; seq?: number | undefined; doc?: Record | undefined; channel?: string | undefined; channels?: string[] | undefined; }[]; cursors: Record; grantedChannels: string[]; }, {}>; export type ResSyncPull = typeof resSyncPull.infer; export declare function isResSyncPull(obj: unknown): obj is ResSyncPull; export declare const reqSyncPush: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.req-sync-push"; auth?: { type: "clerk" | "device-id" | "ucan"; token: string; } | undefined; ownerHandle: string; appSlug: string; dbName: string; writes: { docId: string; doc: Record; baseSeq: number | null; deleted?: boolean | undefined; }[]; adminMode?: boolean | undefined; actingHandle?: string | undefined; }, {}>; export type ReqSyncPush = typeof reqSyncPush.infer; export declare function isReqSyncPush(obj: unknown): obj is ReqSyncPush; export declare const resSyncPush: import("arktype/internal/variants/object.ts").ObjectType<{ type: "vibes.diy.res-sync-push"; status: "ok"; accepted: { docId: string; seq: number; syncSeq: number; }[]; rejected?: { docId: string; reason: "anonymous" | "refused"; message?: string | undefined; code?: "access-denied" | "unreadable" | undefined; }[] | undefined; }, {}>; export type ResSyncPush = typeof resSyncPush.infer; export declare function isResSyncPush(obj: unknown): obj is ResSyncPush;