import type { ClientContext } from "../ClientContext.js";
import type { Response, FeedOptions } from "../request/index.js";
import type { PartitionedQueryExecutionInfo } from "../request/ErrorResponse.js";
import type { ExecutionContext } from "./ExecutionContext.js";
import type { SqlQuerySpec } from "./SqlQuerySpec.js";
import type { DiagnosticNodeInternal } from "../diagnostics/DiagnosticNodeInternal.js";
/** @hidden */
export declare class PipelinedQueryExecutionContext implements ExecutionContext {
    private clientContext;
    private collectionLink;
    private query;
    private options;
    private partitionedQueryExecutionInfo;
    private emitRawOrderByPayload;
    private supportsContinuationTokens;
    private fetchBuffer;
    private endpoint;
    private readonly fetchImplementation;
    constructor(clientContext: ClientContext, collectionLink: string, query: string | SqlQuerySpec, options: FeedOptions, partitionedQueryExecutionInfo: PartitionedQueryExecutionInfo, correlatedActivityId: string, emitRawOrderByPayload?: boolean, supportsContinuationTokens?: boolean);
    hasMoreResults(): boolean;
    fetchMore(diagnosticNode: DiagnosticNodeInternal): Promise<Response<any>>;
    /**
     * Creates a non-streaming endpoint for vector search and similar queries that require buffering
     */
    private createNonStreamingEndpoint;
    /**
     * Creates a streaming endpoint with proper pipeline components
     */
    private createStreamingEndpoint;
    /**
     * Creates the base execution context (OrderBy or Parallel)
     */
    private createBaseExecutionContext;
    /**
     * Wraps base context with appropriate non-streaming component
     */
    private wrapWithNonStreamingComponent;
    /**
     * Applies GROUP BY components to the pipeline if needed
     */
    private applyGroupByComponents;
    /**
     * Applies DISTINCT components to the pipeline if needed
     */
    private applyDistinctComponents;
    /**
     * Applies TOP and OFFSET+LIMIT components to the pipeline if needed
     */
    private applyLimitComponents;
    /**
     * Validates vector search buffer size constraints
     */
    private validateVectorSearchBufferSize;
    private calculateVectorSearchBufferSize;
    private checkQueryConstraints;
    /**
     * Analyzes query information and extracts key characteristics for query execution planning
     */
    private analyzeQueryInfo;
}
//# sourceMappingURL=pipelinedQueryExecutionContext.d.ts.map