/** * @fileoverview No raw fetch check — flags direct `fetch()` calls that should * use a wrapped HTTP client. */ /** * Recipe-config shape for no-raw-fetch. Infrastructure/adapter directories that * legitimately call `fetch` directly are PROJECT-SPECIFIC and belong in a * recipe's `checks.config['no-raw-fetch']` block, not hardcoded into this * generic check. */ export interface NoRawFetchConfig extends Record { /** * Path substrings whose files are exempt from the raw-fetch rule (e.g. an * infrastructure/adapter boundary that wraps `fetch` itself). Matched via * `String.prototype.includes` against the file path. */ skipPaths?: readonly string[]; } /** * Check: resilience/no-raw-fetch * * Detects direct use of fetch() without retry/timeout wrapper. */ export declare const noRawFetch: import("@opensip-cli/fitness").Check; //# sourceMappingURL=no-raw-fetch.d.ts.map