import { TextDocument } from '../../../types';
import { Function } from './function';
/**
 * Extracts the function ID from a URI.
 * The ID is the path relative to the `functions/` directory segment, without
 * the `.mcfunction` extension and with backslashes normalised to forward slashes.
 * Returns `undefined` when the URI does not contain a `functions/` segment or
 * ends with `.json`.
 *
 * @param uri The document URI (e.g. `file:///bp/functions/my_folder/my_fn.mcfunction`)
 * @returns The function ID (e.g. `my_folder/my_fn`), or `undefined`
 */
export declare function extractFunctionId(uri: string): string | undefined;
/**
 *
 * @param doc
 * @returns
 */
export declare function process(doc: TextDocument): Function | undefined;
//# sourceMappingURL=process.d.ts.map