import type { QueryElement } from '../types/query-element'; import { MalloyElement } from '../types/malloy-element'; import type { Source } from '../source-elements/source'; import type { LogMessageOptions, MessageCode, MessageParameterType } from '../../parse-log'; /** * An AST element which can be treated as either a source or a query * depending on context. For instance, an `SQReference` represents * a model-level reference to an entity which is either a source or * a query. */ export declare abstract class SourceQueryElement extends MalloyElement { errored: boolean; getSource(): Source | undefined; getQuery(): QueryElement | undefined; isSource(): boolean; sqLog(code: T, parameters: MessageParameterType, options?: LogMessageOptions): T; isErrorFree(): boolean; }