import { ContentTransparencyData as ContentTransparencyShape } from './content-transparency'; export type ContentTransparencyData = ContentTransparencyShape; export interface ContentData { id?: string; slug?: string | null; references?: any; type?: any; variant?: any; fileKey?: any; author?: any; title?: any; description?: any; body?: any; bodyFormat?: 'markdown' | 'html' | null; publish_date?: any; url?: any; source?: any; status?: any; state?: any; metadata?: Record; thumbnailAssetId?: string | null; referenceIds?: string[]; assetIds?: string[]; assets?: any[]; factIds?: string[]; facts?: FactData[]; factLinks?: FactLinkData[]; _meta_type?: string; createdAt?: string; updatedAt?: string; } export interface FactData { id?: string; textRaw?: string | null; textRefined?: string | null; status?: string | null; domain?: string | null; confidence?: number | null; sourceCount?: number | null; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface FactLinkData { id?: string; factId?: string; contentId?: string; relationship?: string | null; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface FactEvidenceData { id?: string; factId?: string; evidenceKey?: string; status?: FactEvidenceStatus; sourceKind?: string | null; sourceId?: string | null; sourceUrl?: string | null; sourceTitle?: string | null; quote?: string | null; locator?: string | null; extractionMethod?: string | null; confidence?: number | null; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export type FactEvidenceStatus = 'supports' | 'contradicts' | 'unclear' | 'irrelevant' | 'invalid'; export type FactAuditSupportStatus = 'supported' | 'unsupported' | 'contradicted' | 'needs_review'; export interface FactAuditClaimData { id?: string | null; fact: FactData; supportStatus: FactAuditSupportStatus; claimQuote?: string | null; rationale?: string | null; confidence?: number | null; relationship?: string | null; linkMetadata?: Record; evidence?: FactEvidenceData[]; matchedFacts?: Array<{ fact: FactData; evidence: FactEvidenceData[]; }>; } export interface FactAuditResourceClaimData { id?: string | null; fact: FactData; sourceKind?: string | null; sourceId?: string | null; sourceUrl?: string | null; sourceTitle?: string | null; locator?: string | null; quote?: string | null; status?: FactEvidenceStatus; confidence?: number | null; evidence?: FactEvidenceData[]; } export interface FactAuditStateData { counts: Record; claims: FactAuditClaimData[]; resourceClaims: FactAuditResourceClaimData[]; warnings: string[]; generatedBy: string; latestAuditRunId?: string | null; repair?: { auditRunId: string; claimsExtracted: number; referenceFactsExtracted: number; warnings: string[]; }; evidenceRepair?: Record; claimRecheck?: Record; evidenceStatusUpdate?: Record; } export interface ContentReviewFindingData { severity?: string; title?: string; detail?: string; factId?: string; quote?: string; suggestedChange?: string; ruleId?: string; } export interface ContentReviewData { id?: string; contentId?: string; contentVersionId?: string | null; kind?: string | null; policyKey?: string | null; reviewer?: string | null; status?: string | null; summary?: string | null; findings?: ContentReviewFindingData[]; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface ContentCorrectionData { id?: string; contentId?: string; contentVersionId?: string | null; correctionType?: string | null; status?: string | null; factId?: string | null; correctedFactId?: string | null; summary?: string | null; incorrectText?: string | null; correctedText?: string | null; publicNote?: string | null; publishedAt?: string | null; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface ContentVersionData { id?: string; contentId?: string; version?: number | null; kind?: string | null; summary?: string | null; snapshot?: Record; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface ContentReviewPolicyData { id?: string; key: string; label: string; kind: string; instructions: string; enabled?: boolean; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface ContentReviewProfileRequirementData { kind?: string; policyKey: string; label: string; blocking: boolean; acceptedStatuses: string[]; missing: boolean; stale?: boolean; executed: boolean; satisfied: boolean; latestReviewId: string | null; latestStatus: string | null; latestSummary: string | null; } export interface ContentReviewProfileData { profileKey: string; ready: boolean; complete: boolean; requirements: ContentReviewProfileRequirementData[]; } export interface ContentGovernanceProfileData { id?: string; key: string; label: string; description?: string; enabled?: boolean; requirements: Array<{ policyKey: string; label?: string; blocking?: boolean; acceptedStatuses?: string[]; }>; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface ContentGovernanceAssignmentData { id?: string; key?: string; label?: string; contentType: string; contentVariant?: string | null; enabled?: boolean; factLinkingEnabled?: boolean; transparencyEnabled?: boolean; publicationProfileKey?: string | null; correctionProfileKey?: string | null; enforcePublishReadiness?: boolean; defaultFactRelationship?: string | null; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface ResolvedContentGovernanceData { isGoverned: boolean; factLinkingEnabled: boolean; transparencyEnabled: boolean; publicationProfileKey: string | null; correctionProfileKey: string | null; enforcePublishReadiness: boolean; defaultFactRelationship: string; reviewPolicies: ContentReviewPolicyData[]; availableProfiles: ContentGovernanceProfileData[]; assignment: ContentGovernanceAssignmentData | null; } export interface ContentGovernanceStateData extends ResolvedContentGovernanceData { reviewProfiles: ContentReviewProfileData[]; } export interface ContentGovernanceDefinitionsData { effective: { policies: ContentReviewPolicyData[]; profiles: ContentGovernanceProfileData[]; assignments: ContentGovernanceAssignmentData[]; }; persisted: { policies: ContentReviewPolicyData[]; profiles: ContentGovernanceProfileData[]; assignments: ContentGovernanceAssignmentData[]; }; } export interface ContentContributionAttachmentData { id?: string; contributionId?: string; revisionId?: string | null; filename?: string; mimeType?: string | null; size?: number | null; fileKey?: string | null; sourceUri?: string | null; channel?: string | null; promotedAssetId?: string | null; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface ContentContributionRevisionData { id?: string; contributionId?: string; revisionNumber?: number | null; channel?: string | null; title?: string | null; description?: string | null; body?: string | null; sourceMessageId?: string | null; sourceThreadKey?: string | null; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface ContentContributorData { id?: string; profileId?: string | null; email?: string | null; name?: string | null; trustLevel?: string | null; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface ContentContributionTypeData { id?: string; key: string; label: string; enabled?: boolean; allowedChannels?: string[]; allowText?: boolean; allowFiles?: boolean; allowEmptyText?: boolean; intakeRules?: Record; promotion?: Record; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; } export interface ContentContributionData { id?: string; contributorId?: string; contributionTypeKey?: string; status?: string | null; intakeDecision?: string | null; channel?: string | null; title?: string | null; description?: string | null; body?: string | null; contributorEmail?: string | null; contributorName?: string | null; threadKey?: string | null; sourceMessageId?: string | null; editorNotes?: string | null; promotedContentId?: string | null; revisionCount?: number | null; approvedAt?: string | null; promotedAt?: string | null; rejectedAt?: string | null; withdrawnAt?: string | null; requestedChangesAt?: string | null; metadata?: Record; tenantId?: string | null; createdAt?: string; updatedAt?: string; contributor?: ContentContributorData | null; revisions?: ContentContributionRevisionData[]; attachments?: ContentContributionAttachmentData[]; } export interface ContentContributionTypeConfigStateData { effective: ContentContributionTypeData[]; persisted: ContentContributionTypeData[]; } export interface ApiResponse { data: T; success: boolean; message?: string; } declare class ApiClient { baseUrl: string; constructor(baseUrl: string); private request; private requestList; contents: { list: () => Promise>; getBySlug: (slug: string, options?: { context?: string; status?: string; }) => Promise>; get: (id: string) => Promise>; create: (contentData: Partial) => Promise>; update: (id: string, updates: Partial) => Promise>; delete: (id: string) => Promise>; browseFacts: (query?: string, options?: { limit?: number; offset?: number; minSimilarity?: number; includeSuperseded?: boolean; latestOnly?: boolean; }) => Promise>; getFacts: (id: string, relationship?: string) => Promise>; getFactAudit: (id: string) => Promise>; repairFactAudit: (id: string, data?: Record) => Promise>; repairFactEvidence: (id: string, data?: Record) => Promise>; recheckFactClaims: (id: string, data?: Record) => Promise>; updateFactEvidenceStatus: (id: string, data?: { evidenceIds?: string[]; status?: FactEvidenceStatus; reason?: string; }) => Promise>; syncFacts: (id: string, data: { factIds: string[]; relationship?: string; }) => Promise>; getReviews: (id: string, kind?: string) => Promise>; getGovernanceState: (id: string) => Promise>; getGovernanceDefinitions: () => Promise>; resolveGovernance: (options: { type?: string; variant?: string | null; }) => Promise>; getPublishedTransparency: (id: string) => Promise>; getTransparencyPreview: (id: string) => Promise>; getReviewProfiles: (id: string) => Promise>; getReviewProfile: (id: string, profileKey: string) => Promise>; runReview: (id: string, data: Record) => Promise>; getCorrections: (id: string) => Promise>; issueCorrection: (id: string, data: Record) => Promise>; getVersions: (id: string) => Promise>; createVersion: (id: string, data: Record) => Promise>; restoreVersion: (id: string, versionNumber: number) => Promise>; }; contentGovernancePolicies: { list: () => Promise>; get: (id: string) => Promise>; create: (data: Partial) => Promise>; update: (id: string, data: Partial) => Promise>; delete: (id: string) => Promise>; }; contentGovernanceProfiles: { list: () => Promise>; get: (id: string) => Promise>; create: (data: Partial) => Promise>; update: (id: string, data: Partial) => Promise>; delete: (id: string) => Promise>; }; contentGovernanceAssignments: { list: () => Promise>; get: (id: string) => Promise>; create: (data: Partial) => Promise>; update: (id: string, data: Partial) => Promise>; delete: (id: string) => Promise>; }; contentContributions: { list: () => Promise>; get: (id: string) => Promise>; submitWebContribution: (payload: Record) => Promise>; ingestEmailContribution: (payload: Record) => Promise>; appendRevision: (id: string, payload: Record) => Promise>; requestChanges: (id: string, payload: Record) => Promise>; approve: (id: string, payload?: Record) => Promise>; reject: (id: string, payload?: Record) => Promise>; withdraw: (id: string, payload?: Record) => Promise>; promote: (id: string, payload?: Record) => Promise>; listForContributor: (options?: { contributorId?: string; contributorEmail?: string; }) => Promise>; listInbox: (options?: { statuses?: string | string[]; }) => Promise>; getContributionTypes: () => Promise>; }; contentContributionTypes: { list: () => Promise>; get: (id: string) => Promise>; create: (data: Partial) => Promise>; update: (id: string, data: Partial) => Promise>; delete: (id: string) => Promise>; }; contentContributors: { list: () => Promise>; get: (id: string) => Promise>; create: (data: Partial) => Promise>; update: (id: string, data: Partial) => Promise>; delete: (id: string) => Promise>; }; contentVersions: { getTransparency: (id: string) => Promise>; }; } export declare function createClient(baseUrl?: string): ApiClient; export default createClient; //# sourceMappingURL=mock-smrt-client.d.ts.map