export interface IntegrationSyncLogEntry {
    _id: string;
    provider: string;
    level?: number | null;
    internalId?: string | null;
    externalId?: string | null;
    queueName?: string | null;
    jobId?: string | null;
    metadata?: Record<string, any> | null;
    message?: string | null;
    createdAt: string;
}
export interface SyncLogQueryResponse {
    data: IntegrationSyncLogEntry[];
    total: number;
    page: number;
    limit: number;
}
export interface SyncLogStatsEntry {
    date: string;
    total: number;
}
export interface SyncLogQueryParams {
    provider?: string;
    internalId?: string;
    externalId?: string;
    queueName?: string;
    jobId?: string;
    messageSearch?: string;
    metadataRecordType?: string;
    startDate?: string;
    endDate?: string;
    page?: number;
    limit?: number;
}
export declare const useIntegrationSyncLogApi: () => {
    querySyncLogs(params?: SyncLogQueryParams): Promise<SyncLogQueryResponse>;
    getSyncLogStats(params?: {
        provider?: string;
        startDate?: string;
        endDate?: string;
    }): Promise<SyncLogStatsEntry[]>;
    retrySyncLog(logId: string): Promise<{
        success: boolean;
        message: string;
    }>;
};
