import type { DatabaseConnectionFactory } from '../../../providers/database/database-connection-factory';
export type PublishCatalogEntitiesParams = {
    baseDbDir: string;
    chunkSize?: number;
    changedSourceFiles?: string[];
    removedSourceFiles?: string[];
};
export type PublishCatalogEntitiesRunResult = {
    runId: string;
    published: boolean;
    shouldFinalizeFileHashes: boolean;
};
export type PublishRowsResult = {
    upserted: number;
    skipped: number;
};
export type DatabaseConnection = NonNullable<Awaited<ReturnType<typeof DatabaseConnectionFactory.create>>>;
export type SourceFilesFilter = string[] | 'none';
export type BulkSyncResult<T> = Array<{
    status: 'ok';
    resource: T | null;
} | {
    key: string;
    status: 'error';
    error: string;
}>;
//# sourceMappingURL=types.d.ts.map