import type { ExtractorFn, SimplifiedNode } from "./types.js"; import type { Node as FigmaDocumentNode } from "@figma/rest-api-spec"; /** * Extracts layout-related properties from a node. */ export declare const layoutExtractor: ExtractorFn; /** * Extracts text content and text styling from a node. */ export declare const textExtractor: ExtractorFn; /** * Extracts visual appearance properties (fills, strokes, effects, opacity, border radius). */ export declare const visualsExtractor: ExtractorFn; /** * Extracts component-related properties from INSTANCE nodes. */ export declare const componentExtractor: ExtractorFn; export { connectorExtractor, simplifiedConnectorExtractor, simplifyConnectorNode, simplifyAllConnectors, } from "./connector-extractor.js"; /** * All extractors - includes connector extraction for relationship data. */ export declare const allExtractors: ExtractorFn[]; /** * Layout and text only - useful for content analysis and layout planning. */ export declare const layoutAndText: ExtractorFn[]; /** * Text content only - useful for content audits and copy extraction. */ export declare const contentOnly: ExtractorFn[]; /** * Visuals only - useful for design system analysis and style extraction. */ export declare const visualsOnly: ExtractorFn[]; /** * Layout only - useful for structure analysis. */ export declare const layoutOnly: ExtractorFn[]; /** * Node types that can be exported as SVG images. * When a FRAME, GROUP, or INSTANCE contains only these types, we can collapse it to IMAGE-SVG. * Note: FRAME/GROUP/INSTANCE are NOT included here—they're only eligible if collapsed to IMAGE-SVG. */ export declare const SVG_ELIGIBLE_TYPES: Set; /** * afterChildren callback that collapses SVG-heavy containers to IMAGE-SVG. * * If a FRAME, GROUP, or INSTANCE contains only SVG-eligible children, the parent * is marked as IMAGE-SVG and children are omitted, reducing payload size. * * @param node - Original Figma node * @param result - SimplifiedNode being built * @param children - Processed children * @returns Children to include (empty array if collapsed) */ export declare function collapseSvgContainers(node: FigmaDocumentNode, result: SimplifiedNode, children: SimplifiedNode[]): SimplifiedNode[]; //# sourceMappingURL=built-in.d.ts.map