import { l } from '@atproto/lex'; import * as DraftDefs from './defs.defs.js'; declare const $nsid = "app.bsky.draft.updateDraft"; export { $nsid }; /** 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 type $Params = l.InferMethodParams; export type $Input = l.InferMethodInput; export type $InputBody = l.InferMethodInputBody; export type $Output = l.InferMethodOutput; export type $OutputBody = l.InferMethodOutputBody; export declare const $lxm: "app.bsky.draft.updateDraft", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{ draft: l.RefSchema>; }>>, $output: l.Payload; //# sourceMappingURL=updateDraft.defs.d.ts.map