export declare const enum TokenType { DOUBLE_QUOTE = 0, DOT = 1, OTHER = 2 } export interface Token { type: TokenType; value: string; } /** * Computes accessor parts. * * @param accessor - Accessor to the values * @returns List of accessors parts */ export declare function getAccessorParts(accessor: string): string[]; /** * Generates tokens from the string provided taking into account escape sequences. * * @param value - Value that has to be tokenized * @returns Generator of type token from the value passed */ export declare function tokenize(value: string): Generator; /** * Gets the root of the axis accesor. * * @param accessor - Accessor to the values * @returns Root of the axis accessor */ export declare function getAxisRootAccessor(accessor: string): string; /** * Gets the extension of the axis accesor. * * @param accessor - Accessor to the values * @returns Extension of the axis accessor */ export declare function getAxisExtensionAccessor(accessor: string): string;