import type * as Whop from "../index.js"; export interface PublicBountySubmission { /** The bounty the work was submitted to, prefixed `bnty_`. */ bounty_id: string; /** When the worker claimed the submission, as an ISO 8601 timestamp. */ claimed_at: string | null; /** When the submission was created, as an ISO 8601 timestamp. */ created_at: string; /** Why the submission was denied, when a presentable reason exists. Always `null` unless `status` is `denied`. */ denial_reason: string | null; /** Submission ID, prefixed `btys_`. */ id: string; /** Latest public proof livestream attached to the submission. */ latest_proof_livestream_feed: Whop.BountySubmissionLivestreamFeed | null; /** When the submission was approved or denied, as an ISO 8601 timestamp. `null` until then. */ resolved_at: string | null; /** Lifecycle state. `submitted` submissions await review; `approved` submissions were accepted and paid; `denied` submissions were rejected. In-progress attempts never appear on the public list. */ status: PublicBountySubmission.Status; /** When proof was submitted for review, as an ISO 8601 timestamp. */ submitted_at: string | null; /** When the submission was last updated, as an ISO 8601 timestamp. */ updated_at: string; /** User who submitted the work. */ worker: Whop.UserSummary; } export declare namespace PublicBountySubmission { /** Lifecycle state. `submitted` submissions await review; `approved` submissions were accepted and paid; `denied` submissions were rejected. In-progress attempts never appear on the public list. */ const Status: { readonly Submitted: "submitted"; readonly Approved: "approved"; readonly Denied: "denied"; }; type Status = (typeof Status)[keyof typeof Status]; }