import type { Location } from '../types.js'; import type { LocalSsjsFunction } from '../utils/markdown.js'; /** * Parse all `function name(...)` declarations from SSJS document text, * extracting preceding JSDoc blocks for documentation and parameter info. * @param text - SSJS document text to parse. * @returns Array of local function descriptors with name, params, and docs. */ export declare function extractLocalSsjsFunctions(text: string): LocalSsjsFunction[]; /** * Return an LSP Location for a file-local SSJS function declaration, * or null if the name is not found. * @param text - SSJS document text. * @param uri - Document URI. * @param name - Function name to locate. * @returns LSP Location of the function declaration, or null. */ export declare function getSsjsDefinition(text: string, uri: string, name: string): Location | null; //# sourceMappingURL=ssjs.d.ts.map