export default class TenantMigrationPendingInspector { configuration: import("../../configuration.js").default; identifier: string; migrationVersions: string[]; tenants: any[]; /** * Runs constructor. * @param {object} args - Options object. * @param {import("../../configuration.js").default} args.configuration - Configuration instance. * @param {string} args.identifier - Tenant database identifier. * @param {number[]} args.migrationVersions - Applicable migration versions. * @param {Array>} args.tenants - Existing tenant descriptors. */ constructor({ configuration, identifier, migrationVersions, tenants, ...restArgs }: { configuration: import("../../configuration.js").default; identifier: string; migrationVersions: number[]; tenants: Array>; }); /** * Reads every existing tenant ledger and reports aggregate pending state. * @returns {Promise<{hasPendingMigrations: boolean, identifier: string, migrationCount: number, pendingTenantCount: number, tenantCount: number}>} - Deploy preflight result. */ inspect(): Promise<{ hasPendingMigrations: boolean; identifier: string; migrationCount: number; pendingTenantCount: number; tenantCount: number; }>; /** * Reads one tenant's existing migration ledger without preparing or changing it. * @param {ReturnType} tenant - Tenant descriptor. * @returns {Promise} - Whether the tenant has an applicable pending migration. */ tenantHasPendingMigrations(tenant: ReturnType): Promise; } //# sourceMappingURL=migration-pending-inspector.d.ts.map