import type { AST } from 'eslint';
import type * as ESTree from 'estree';
type RangedNode = {
    readonly range?: Readonly<readonly [number, number]> | null | undefined;
};
type LocatedNode = {
    readonly loc?: AST.SourceLocation | ESTree.SourceLocation | null | undefined;
};
export declare function expectNodeRange(node: Readonly<RangedNode>): AST.Range;
export declare function expectNodeLocation(node: Readonly<LocatedNode>): AST.SourceLocation;
export {};
//# sourceMappingURL=node-location.d.ts.map