import type { AuditDatabaseProvider } from './provider'; export interface AuditTableSQLOptions { provider?: AuditDatabaseProvider; tableName?: string; partitioned?: boolean; enforcement?: 'trigger' | 'rule'; ginIndex?: boolean; } export interface EnsurePartitionsOptions { provider?: AuditDatabaseProvider; tableName?: string; ahead?: number; } interface AuditObjectNames { tableName: string; tablePart: string; triggerFunction: string; updateTrigger: string; deleteTrigger: string; updateRule: string; deleteRule: string; tenantCreatedIndex: string; actorIndex: string; targetIndex: string; actionIndex: string; createdBrinIndex: string; changesGinIndex: string; metadataGinIndex: string; } export declare function deriveAuditObjectNames(tableName: string): AuditObjectNames; export declare function getAuditTableStatements(options?: AuditTableSQLOptions): string[]; /** * SQL Server output requires sqlcmd or SSMS SQLCMD mode for fail-fast execution. * Use getAuditTableStatements/applyAuditTableSchema for Prisma. */ export declare function getAuditTableSQL(options?: AuditTableSQLOptions): string; export declare function applyAuditTableSchema(prisma: any, options?: AuditTableSQLOptions): Promise; export declare function ensurePartitions(prisma: any, options?: EnsurePartitionsOptions): Promise; export {}; //# sourceMappingURL=index.d.ts.map