import { l } from '@atproto/lex'; import * as DraftDefs from './defs.defs.js'; declare const $nsid = "app.bsky.draft.updateDraft"; export { $nsid }; export declare const $params: l.ParamsSchema<{}>; export type $Params = l.InferOutput; export declare const $input: l.Payload<"application/json", l.ObjectSchema<{ draft: l.RefSchema>; }>>; export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export declare const $output: l.Payload; export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Updates a draft using private storage (stash). If the draft ID points to a non-existing ID, the update will be silently ignored. This is done because updates don't enforce draft limit, so it accepts all writes, but will ignore invalid ones. Requires authentication. */ declare const main: l.Procedure<"app.bsky.draft.updateDraft", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{ draft: l.RefSchema>; }>>, l.Payload, undefined>; export { main }; export declare const $lxm = "app.bsky.draft.updateDraft"; //# sourceMappingURL=updateDraft.defs.d.ts.map