import type { CockroachDialect } from "../dialect.js";
import type { CockroachPreparedQuery, CockroachQueryResultHKT, CockroachQueryResultKind, CockroachSession, PreparedQueryConfig } from "../session.js";
import type { CockroachMaterializedView } from "../view.js";
import { entityKind } from "../../entity.js";
import { QueryPromise } from "../../query-promise.js";
import type { RunnableQuery } from "../../runnable-query.js";
import type { Query, SQLWrapper } from "../../sql/sql.js";
export interface CockroachRefreshMaterializedView<TQueryResult extends CockroachQueryResultHKT> extends QueryPromise<CockroachQueryResultKind<TQueryResult, never>>, RunnableQuery<CockroachQueryResultKind<TQueryResult, never>, 'cockroach'>, SQLWrapper {
    readonly _: {
        readonly dialect: 'cockroach';
        readonly result: CockroachQueryResultKind<TQueryResult, never>;
    };
}
export declare class CockroachRefreshMaterializedView<TQueryResult extends CockroachQueryResultHKT> extends QueryPromise<CockroachQueryResultKind<TQueryResult, never>> implements RunnableQuery<CockroachQueryResultKind<TQueryResult, never>, 'cockroach'>, SQLWrapper {
    private session;
    private dialect;
    static readonly [entityKind]: string;
    private config;
    constructor(view: CockroachMaterializedView, session: CockroachSession, dialect: CockroachDialect);
    concurrently(): this;
    withNoData(): this;
    toSQL(): Query;
    prepare(name: string): CockroachPreparedQuery<PreparedQueryConfig & {
        execute: CockroachQueryResultKind<TQueryResult, never>;
    }>;
    private authToken?;
    execute: ReturnType<this['prepare']>['execute'];
}
