import type { Query } from '../../../model/malloy_types'; import type { Source } from '../source-elements/source'; import { MalloyElement } from '../types/malloy-element'; import type { QueryComp } from '../types/query-comp'; import type { QueryElement } from '../types/query-element'; /** * A query element which represents running the intrinsic fields of a * source directly as a query. Currently this only works for SQL sources, * where the "raw query" just means running the SQL that defined the source * directly. * * e.g. after `run:` in `run: duckdb.sql("...")` */ export declare class QueryRaw extends MalloyElement implements QueryElement { readonly source: Source; elementType: string; constructor(source: Source); queryComp(isRefOk: boolean): QueryComp; query(): Query; }