/** * Minimal structural shape compatible with both Mocha's `Suite` (used by * qase-mocha) and Cypress's runner Suite (used by qase-cypress). */ export interface FileSuiteNode { file?: string; parent?: FileSuiteNode; } /** * Walks up `node.parent` until a node with a non-empty `file` property is * reached. Returns the file path, or undefined if no ancestor has one. */ export declare function getFile(node: FileSuiteNode): string | undefined;