import { Box } from "../editor/boxes/Box";
import { PiEditor } from "../editor/PiEditor";
export declare enum PiCaretPosition {
    UNSPECIFIED = 0,
    LEFT_MOST = 1,
    RIGHT_MOST = 2,
    INDEX = 3
}
export declare class PiCaret {
    static RIGHT_MOST: PiCaret;
    static LEFT_MOST: PiCaret;
    static UNSPECIFIED: PiCaret;
    static IndexPosition(i: number): PiCaret;
    position: PiCaretPosition;
    index: number;
    constructor(p: PiCaretPosition, i: number);
}
export declare enum BehaviorExecutionResult {
    EXECUTED = 0,
    PARTIAL_MATCH = 1,
    NO_MATCH = 2
}
export declare function executeBehavior(box: Box, text: string, editor: PiEditor): Promise<BehaviorExecutionResult>;
//# sourceMappingURL=BehaviorUtils.d.ts.map