import { TextDocument } from 'vscode-languageserver-textdocument'; import { Position } from 'vscode-languageserver-types'; import { ProcessYamlDocForCompletionOutput } from '../utils/astUtilityFunctions'; /** * @typedef {Object} ProcessYamlDocForCompletionOutput * @property {string} modifiedDocText - The text document derived from the document parameter which will be used to generate code completions * @property {Position} tempPositionForCompletions - The Position within modifiedDocText which will be used to generate code completions * @property {Position} startPositionForInsertion - The starting Position for the insert range applied to the generated code completions * @property {Position} endPositionForInsertion - The ending Position for the insert range applied to the generated code completions * @property {Position} shouldPrependSpace - A boolean indicating whether the generated code completions should have a space prepended to them */ /** * * @param {TextDocument} document * @param {Position} position * @returns {ProcessYamlDocForCompletionOutput} */ export declare function processYamlDocForCompletion(document: TextDocument, position: Position): ProcessYamlDocForCompletionOutput; export declare function isStateNameReservedYamlKeyword(stateName: string): boolean; export declare function convertJsonSnippetToYaml(snippetText: string): string; export declare function getOffsetData(document: TextDocument, offset: number): { isDirectChildOfStates: boolean; isWithinCatchRetryState: boolean; hasCatchPropSibling: boolean; hasRetryPropSibling: boolean; };