/** * @fileoverview Stubbed Implementation Detection Check * * Detects patterns indicating incomplete or placeholder implementations: * - Empty object stubs: `({}) as Type` * - Promise.resolve() placeholders * - Hardcoded stub returns * - Placeholder comments * * False-positive reduction: the check walks the AST for context to skip: * - Promise.resolve() in lifecycle methods (destroy/dispose/close/shutdown/cleanup) * - Promise.resolve() inside conditional blocks (guard clauses) * - Promise.resolve() in functions with substantive statements * - { success: true, data: [] } inside conditional branches or functions with multiple returns * - ({}) as T where T is a generic type parameter * - ({}) as T used as Proxy target * - ({}) as Record<...> / Readonly> / index-signature / mapped * type — an empty object cast to a plain dictionary/record shape is a valid * empty dictionary, not a stub. (Map/Set are NOT skipped — `{} as Map` is a * broken stub; see isDictionaryOrRecordType.) */ /** * Check: quality/stubbed-implementation-detection * * Detects incomplete or placeholder implementations. */ export declare const stubbedImplementationDetection: import("@opensip-cli/fitness").Check; //# sourceMappingURL=stubbed-implementation-detection.d.ts.map