export interface RewriteRule {
    tag?: string;
    match: string;
    replace?: string;
    template: string;
    mode?: string;
}
export interface Chunk {
    mode: string;
    tag?: string;
    href: string;
    alt?: string;
}
export declare function applyRewriteRule(rule: RewriteRule, chunk: Chunk): {
    shouldBreak: boolean;
    text?: undefined;
} | {
    shouldBreak: boolean;
    text: string;
};
//# sourceMappingURL=applyRewriteRule.d.ts.map