import type { Element, ElementContent } from 'hast';
import type { FrameRange } from "./calculateFrameRanges.mjs";
/**
 * Creates a HAST frame element (`span.frame`) with the given children and optional metadata.
 *
 * Used by both `addLineGutters` (initial frame creation) and `restructureFrames`
 * (splitting/rebuilding frames for highlighting or comment extraction).
 */
export declare function createFrame(children: Array<ElementContent>, frameType?: FrameRange['type'], indentLevel?: number, truncated?: FrameRange['truncated']): Element;