import { TSESTree } from "@typescript-eslint/utils"; import { Reference, Scope } from "@typescript-eslint/utils/dist/ts-eslint-scope"; export declare function findTopMemberExpression(node: TSESTree.MemberExpression): TSESTree.MemberExpression; export declare function findCallExpression(node: TSESTree.MemberExpression): TSESTree.CallExpression | undefined; export declare type OfficeApiReference = { /** * Get: An OfficeJs object, which is created when calling a `get` type function * Load: A reference to `object.load()` type call * Method: The reference is calling a method. Ex: `object.methodCall()` * Read: The reference value is being read and it is not a method * Sync: A call to `context.sync()` */ operation: "Get" | "Load" | "Method" | "Read" | "Sync"; reference: Reference; }; export declare function findOfficeApiReferences(scope: Scope): OfficeApiReference[]; export declare function findPropertiesRead(node: TSESTree.Node | undefined): string;