import { TSESTree } from "@typescript-eslint/utils"; /** * Whether a member of a command object literal is the property `name`, * written as `name: …`, `"name": …` or `["name"]: …`. A computed key that is * not a string literal, such as `[name]: …`, is a variable and does not count. */ export declare function isCommandProperty(property: TSESTree.ObjectLiteralElement, name: string): property is TSESTree.Property; /** * Whether a call is a method call named addCommand, as `this.addCommand(…)`, * the call the command rules check. */ export declare function isAddCommandCall(node: TSESTree.CallExpression): boolean; /** * The value of a string literal, or of a template literal without `${…}`. * Null for anything else. */ export declare function staticString(node: TSESTree.Node): string | null; export declare function commandName(command: TSESTree.ObjectExpression): string | null;