import { type Action, type CidString, type CreateOutput, type DatetimeString, type DidString } from '@atproto/lex'; import { type AtUriString } from '@atproto/syntax'; import type { app, com } from '../lexicons/index.js'; type StrongRef = com.atproto.repo.strongRef.Main; type PostInput = Omit & { createdAt?: DatetimeString; }; /** * Create a post record. */ export declare const post: Action; /** * Delete a post record by URI. */ export declare const deletePost: Action; type LikeInput = { uri: AtUriString; cid: CidString; via?: StrongRef; }; /** * Create a like record. */ export declare const like: Action; /** * Delete a like record by URI. */ export declare const deleteLike: Action; type RepostInput = { uri: AtUriString; cid: CidString; via?: StrongRef; }; /** * Create a repost record. */ export declare const repost: Action; /** * Delete a repost record by URI. */ export declare const deleteRepost: Action; type FollowInput = { did: DidString; via?: StrongRef; }; /** * Create a follow record. */ export declare const follow: Action; /** * Delete a follow record by URI. */ export declare const deleteFollow: Action; type ProfileRecord = app.bsky.actor.profile.Main; type UpsertProfileInput = (existing: Partial | undefined) => Partial | Promise>; /** * Upsert (create or update) the authenticated user's profile record. * Retries up to 5 times on InvalidSwap to handle concurrent writes. * * NOTE unlike the other record actions, this one uses the runtime profile * schema (and the client.get()/put() sugar): its validation gates are * preserved behavior from the old agent and require the schema at runtime. */ export declare const upsertProfile: Action; export {}; //# sourceMappingURL=records.d.ts.map