import { ExtractionResult } from '../types';
/**
 * LiquidExtractor - Extracts relationships from Liquid template files
 *
 * Liquid is a templating language (used by Shopify, Jekyll, etc.) that doesn't
 * have traditional functions or classes. Instead, we extract:
 * - Section references ({% section 'name' %})
 * - Snippet references ({% render 'name' %} and {% include 'name' %})
 * - Schema blocks ({% schema %}...{% endschema %})
 */
export declare class LiquidExtractor {
    private filePath;
    private source;
    private nodes;
    private nodeIds;
    private edges;
    private unresolvedReferences;
    private errors;
    constructor(filePath: string, source: string);
    /**
     * Extract from Liquid source
     */
    extract(): ExtractionResult;
    /**
     * Create a file node for the Liquid template
     */
    private createFileNode;
    /**
     * Shopify OS 2.0 JSON template / section group. Both have a `sections` object
     * mapping an id → `{ "type": "<section-name>", ... }`; the `type` names a
     * `sections/<type>.liquid` file. Emit a `references` edge to each, so a section
     * used only from a JSON template (the OS 2.0 norm) is no longer orphaned.
     */
    private extractShopifyJsonSections;
    /**
     * Every occurrence of a Liquid tag, in BOTH spellings it can be written in.
     *
     * Inside a `{% liquid %}` tag, each line of the body is a tag
     * WITHOUT braces of its own:
     *
     *   {% liquid
     *     assign heading = section.settings.title
     *     render 'card', title: heading
     *   %}
     *
     * A pattern anchored on `{%` misses these references and assignments.
     *
     * Returns real offsets into `this.source`, so callers keep using
     * getLineNumber/getLineStart unchanged.
     */
    private findTagOccurrences;
    /**
     * Extract {% render 'snippet' %} and {% include 'snippet' %} references
     */
    private extractSnippetReferences;
    /**
     * Extract {% section 'name' %} references
     */
    private extractSectionReferences;
    /**
     * Extract {% schema %}...{% endschema %} blocks
     */
    private extractSchema;
    /**
     * Extract {% assign var = value %} statements
     */
    private extractAssignments;
    /**
     * Get the line number for a character index
     */
    private getLineNumber;
    /**
     * Get the character index of the start of a line
     */
    private getLineStart;
}
//# sourceMappingURL=liquid-extractor.d.ts.map