/**
 * Returns an estimate for the number of rows in the table.
 * - Method "explain" is good for the source tables (fromDsn). It relies on the
 *   ANALYZE work and is precise enough for the table which exists for a while.
 *   It's not good for the COPYing table, since EXPLAIN severely under-estimates
 *   the number of rows copied so far.
 * - Method "pg_stat_progress_copy" is good while a COPY query is running. It is
 *   very precise for the destination tables (toDsn).
 */
export declare function getRowCount({ dsn, schema, table, method, }: {
    dsn: string;
    schema: string;
    table: string;
    method: "explain" | "pg_stat_progress_copy";
}): Promise<number | null>;
//# sourceMappingURL=getRowCount.d.ts.map