import type { StringOp } from './types';
export declare enum VALIDATE_RESULT {
    SUCCESS = 0,
    INVALID_OP = 1,
    INVALID_COMPONENT = 2,
    ADJACENT_SAME_TYPE = 3,
    NO_TRAILING_RETAIN = 4
}
export declare const validate: (op: StringOp) => VALIDATE_RESULT;
