export type GetTimeoutFunction = (route: string, body: unknown) => number;
A function that determines the timeout for a given request.