/** * Provider endpoints that take a POST but only read. `provider-api-request` * treats every non-GET request as a write, which makes a failed report or * search unretryable for the rest of the run, so these endpoints are listed * explicitly rather than guessed from the method or the path's wording. * * A rule matches either an absolute URL on one of its hosts, or a relative * path sent through its built-in provider, resolved against that provider's * base path the same way the runtime joins it. */ export interface ProviderRequestShape { provider?: unknown; method?: unknown; path?: unknown; body?: unknown; } /** Whether a POST through `provider-api-request` targets a listed read-only endpoint. */ export declare function isReadOnlyProviderPost(request: ProviderRequestShape): boolean;