import { SmrtCollection } from '@happyvertical/smrt-core'; import { ContentContributionAttachmentInput, ContentContribution } from './content-contribution'; export interface SubmitWebContentContributionOptions { typeKey: string; contributorEmail: string; contributorName?: string | null; title?: string | null; description?: string | null; body?: string | null; attachments?: ContentContributionAttachmentInput[]; metadata?: Record; tenantId?: string | null; } export interface IngestEmailContentContributionOptions { emailId: string; typeKey?: string | null; tenantId?: string | null; } export declare class ContentContributions extends SmrtCollection { static readonly _itemClass: typeof ContentContribution; private getContributorCollection; private getEmailCollection; private getAttachmentCollection; private resolveSubmissionType; getContributionTypesAction(options?: { tenantId?: string | null; }): Promise; listForContributor(options?: { contributorId?: string; contributorEmail?: string; tenantId?: string | null; }): Promise; listInboxAction(options?: { statuses?: string | string[]; tenantId?: string | null; }): Promise; submitWebContribution(options: SubmitWebContentContributionOptions): Promise<{ contribution: Record; content: Record | null; assets: { attachmentId: string | null | undefined; assetId: string; }[]; } | { contribution: Record; content: Record; assets: { attachmentId: string | null; assetId: string | null; }[]; } | { contribution: Record; intake: import('./content-contribution-config').EvaluateContributionIntakeResult; }>; ingestEmailContribution(options: IngestEmailContentContributionOptions): Promise<{ contribution: Record; content: Record | null; assets: { attachmentId: string | null | undefined; assetId: string; }[]; } | { contribution: Record; content: Record; assets: { attachmentId: string | null; assetId: string | null; }[]; } | { contribution: Record; intake: import('./content-contribution-config').EvaluateContributionIntakeResult; revision: null; attachments: Record[]; } | { intake: import('./content-contribution-config').EvaluateContributionIntakeResult; contribution: Record; revision: Record; attachments: Record[]; } | { contribution: Record; intake: import('./content-contribution-config').EvaluateContributionIntakeResult; revision?: undefined; attachments?: undefined; }>; } //# sourceMappingURL=content-contributions.d.ts.map