import { l } from "@atproto/lex-schema"; import * as VideoDefs from "./defs.defs.js"; declare const $nsid = "app.bsky.video.getUploadStatus"; type $nsid = typeof $nsid; export { $nsid }; export declare const $params: l.ParamsSchema<{ readonly jobId: l.StringSchema<{ readonly minLength: 1; readonly maxLength: 256; }>; }>; export type $Params = l.InferOutput; export declare const $output: l.Payload<"application/json", l.ObjectSchema<{ jobId: l.StringSchema<{ readonly minLength: 1; readonly maxLength: 256; }>; partSizeBytes: l.IntegerSchema; partCount: l.IntegerSchema; receivedParts: l.ArraySchema; expiresAt: l.StringSchema<{ readonly format: "datetime"; }>; state: l.StringSchema<{ maxLength: 32; knownValues: ["created", "finishing", "completed", "failed", "aborted", "expired"]; }>; completedJobId: l.OptionalSchema>; jobStatus: l.OptionalSchema>>; failureReason: l.OptionalSchema>; }>>; export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Get the authoritative status of the upload phase. Terminal states remain readable. completedJobId and jobStatus are present only for completed sessions; failureReason is present only for failed sessions. */ declare const main: l.Query<"app.bsky.video.getUploadStatus", l.ParamsSchema<{ readonly jobId: l.StringSchema<{ readonly minLength: 1; readonly maxLength: 256; }>; }>, l.Payload<"application/json", l.ObjectSchema<{ jobId: l.StringSchema<{ readonly minLength: 1; readonly maxLength: 256; }>; partSizeBytes: l.IntegerSchema; partCount: l.IntegerSchema; receivedParts: l.ArraySchema; expiresAt: l.StringSchema<{ readonly format: "datetime"; }>; state: l.StringSchema<{ maxLength: 32; knownValues: ["created", "finishing", "completed", "failed", "aborted", "expired"]; }>; completedJobId: l.OptionalSchema>; jobStatus: l.OptionalSchema>>; failureReason: l.OptionalSchema>; }>>, readonly ["UploadNotFound"]>; export { main }; declare const $lxm = "app.bsky.video.getUploadStatus"; type $lxm = typeof $lxm; export { $lxm }; //# sourceMappingURL=getUploadStatus.defs.d.ts.map