/** * Prune old records from a table, firing model events for each deleted record. */ export declare function prunable(tableName: string, options?: PrunableOptions): Promise; /** * Mass prune old records from a table using a bulk delete (no model events). */ export declare function massPrunable(tableName: string, options?: PrunableOptions): Promise; /** * Get prunable configuration from a model's traits. */ export declare function getPrunableConfig(traits: Record): PrunableOptions | null; export declare interface PrunableOptions { olderThanDays?: number column?: string query?: (qb: any) => any }