declare module "nodes" { const selector: unique symbol; const property: unique symbol; const array: unique symbol; const name: unique symbol; export type Node = { type: string; [x: string]: any; }; const _default: { selector: symbol; prefix: symbol; suffix: symbol; name: symbol; array: symbol; property: symbol; [selector]: (prefix: any, suffixes: any) => Node; [name]: (token: any, wildcard: any) => Node; [array]: (start: any, slice: any, end: any, single: any) => Node; [property]: (name: any) => Node; }; export default _default; } declare module "parser" { /** * Tokenize input string and return array of tokens * * @param {string} input * @return {Object[]} * @example * * tokenize('user.name') // return [{ type: 'ID', value: 'user'} ... ] */ export function tokenize(input: any): any[]; /** * Parse tokens and returns AST * * @param {Object[]} tokens * @param {Object} object */ export function parse(tokens: any): any; } declare module "selector" { const _default_1: (selector: any, data: any) => any; export default _default_1; }