import { HookPosition } from '../../../interfacesPublic';
import { HookFinder } from '../../../services/utils/hookFinder';
import { ParseOptions } from '../../../services/settings/options';
import * as i0 from "@angular/core";
/**
 * A utility service for the TextSelectorHookParser that finds Angular component selectors in the content
 */
export declare class TagHookFinder {
    private hookFinder;
    constructor(hookFinder: HookFinder);
    /**
     * Finds singletag Angular component selectors
     *
     * @param content - The content to parse
     * @param selector - The Angular selector to find
     * @param bracketStyle - What bracket style to use
     * @param options - The current ParseOptions
     */
    findSingleTags(content: string, selector: string, bracketStyle: {
        opening: string;
        closing: string;
    } | undefined, options: ParseOptions): HookPosition[];
    /**
     * Finds enclosing Angular component selectors
     *
     * @param content - The content to parse
     * @param selector - The Angular selector to find
     * @param bracketStyle - What bracket style to use
     * @param options - The current ParseOptions
     */
    findEnclosingTags(content: string, selector: string, bracketStyle: {
        opening: string;
        closing: string;
    } | undefined, options: ParseOptions): HookPosition[];
    /**
     * Finds self-closing Angular component selectors
     *
     * @param content - The content to parse
     * @param selector - The Angular selector to find
     * @param bracketStyle - What bracket style to use
     * @param options - The current ParseOptions
     */
    findSelfClosingTags(content: string, selector: string, bracketStyle: {
        opening: string;
        closing: string;
    } | undefined, options: ParseOptions): HookPosition[];
    /**
     * Generates the opening tag regex for a standard Angular component selector
     *
     * @param selector - The selector name
     * @param bracketStyle - What bracket style to use
     */
    private generateOpeningTagRegex;
    /**
     * Generates the opening tag regex for a standard hook
     *
     * @param selector - The selector of the hook
     * @param bracketStyle - What bracket style to use
     */
    private generateClosingTagRegex;
    /**
     * Safely escapes a string for use in regex
     *
     * @param text - The string to escape
     */
    escapeRegex(text: string): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<TagHookFinder, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<TagHookFinder>;
}
