import { SmrtCollection } from '@happyvertical/smrt-core'; import { PostAnalytics, PostStatus, SocialPost, SocialPostType } from '../social-post.js'; export interface CreateSocialPostDraftOptions { socialAccountId: string; contentId?: string | null; videoContentId?: string | null; postType?: SocialPostType; title?: string | null; description?: string; hashtags?: string[]; linkUrl?: string | null; mediaUrl?: string | null; scheduledAt?: Date | null; tenantId?: string | null; } export interface PublishSuccessData { platformPostId: string; platformUrl: string; publishedAt?: Date; status?: PostStatus; } export declare class SocialPostCollection extends SmrtCollection { static readonly _itemClass: typeof SocialPost; createDraft(options: CreateSocialPostDraftOptions): Promise; findByStatus(status: PostStatus): Promise; findForAccount(socialAccountId: string): Promise; findDueForPublish(now?: Date): Promise; recordPublishSuccess(post: SocialPost, data: PublishSuccessData): Promise; recordPublishFailure(post: SocialPost, error: Error | string): Promise; updateLatestAnalytics(post: SocialPost, analytics: PostAnalytics, syncedAt?: Date): Promise; } //# sourceMappingURL=social-post-collection.d.ts.map