import { type TSESTree } from '@typescript-eslint/typescript-estree'; type Node = TSESTree.Node; export type Literal = TSESTree.Literal; export type LiteralValue = string | number | boolean | RegExp | bigint | null; export declare function guardLiteral(node: Node, value?: LiteralValue, raw?: string): node is Literal; /** * @deprecated use guardLiteral because this clashes with a * typescript internal name (which makes it harder to import this) */ export declare const isLiteral: typeof guardLiteral; export {};