import { CopilotNamedAnnotationList } from '../../../../../../platform/completions-core/common/openai/copilotAnnotations';
import { TelemetryWithExp } from '../telemetry';
import { IPosition, IRange, TextDocumentContents } from '../textDocument';
import { CompletionResult } from './ghostText';
import { ITextEditorOptions } from './normalizeIndent';
import { ResultType } from './resultType';
export interface CopilotCompletion {
    uuid: string;
    insertText: string;
    range: IRange;
    uri: string;
    telemetry: TelemetryWithExp;
    displayText: string;
    position: IPosition;
    offset: number;
    index: number;
    resultType: ResultType;
    copilotAnnotations?: CopilotNamedAnnotationList;
    clientCompletionId: string;
}
export declare function completionsFromGhostTextResults(completionResults: CompletionResult[], resultType: ResultType, document: TextDocumentContents, position: IPosition, textEditorOptions?: ITextEditorOptions, lastShownCompletionIndex?: number): CopilotCompletion[];
//# sourceMappingURL=copilotCompletion.d.ts.map