import { SelectQuery } from '../models/SelectQuery';
import { WithClause } from '../models/Clause';
/**
 * Utility to manage WITH clause placement for statements that promote the
 * CTE definitions outside of the SELECT body (for example, INSERT).
 */
export declare class SelectQueryWithClauseHelper {
    static getWithClause(selectQuery: SelectQuery | null): WithClause | null;
    static setWithClause(selectQuery: SelectQuery, withClause: WithClause | null): void;
    static detachWithClause(selectQuery: SelectQuery): WithClause | null;
    private static findClauseOwner;
}
