import type { PipeSegment } from '../../../model/malloy_types'; import type { QueryOperationSpace } from '../field-space/query-spaces'; import type { ViewOrScalarFieldReference } from '../query-items/field-references'; import type { SourceFieldSpace } from '../types/field-space'; import type { PipelineComp } from '../types/pipeline-comp'; import { View } from './view'; /** * A view operation that is just a reference to another view or a * scalar field (the latter of which only works when the `scalar_lenses`) * experiment is enabled. * * e.g. `by_carrier` in `flights -> by_carrier` * e.g. `carrier.nickname` in `nest: carrier.nickname` */ export declare class ReferenceView extends View { readonly reference: ViewOrScalarFieldReference; elementType: string; constructor(reference: ViewOrScalarFieldReference); pipelineComp(fs: SourceFieldSpace, _isNestIn: QueryOperationSpace): PipelineComp; _pipelineComp(fs: SourceFieldSpace, { forRefinement }?: { forRefinement: boolean; }): PipelineComp & { error?: boolean; }; private getRefinement; refine(inputFS: SourceFieldSpace, pipeline: PipeSegment[], _isNestIn: QueryOperationSpace | undefined): PipeSegment[]; getImplicitName(): string | undefined; }