/** * Same-file sync callable detection for detached-promises. */ import * as ts from 'typescript'; /** * True when `name` refers to a top-level sync function or const arrow in `sourceFile`. */ export declare function isSyncTopLevelCallable(sourceFile: ts.SourceFile, name: string): boolean; /** * True when `name` refers to a sync helper declared in an enclosing scope of `callSite` * (nested `function` declarations or local `const` arrows), or at module top level. */ export declare function isSyncCallableInScope(callSite: ts.Node, sourceFile: ts.SourceFile, name: string): boolean; //# sourceMappingURL=detached-promises-sync-detection.d.ts.map