type SearchParamsModifier = Record | ((params: URLSearchParams) => void); /** * Asserts that the given value is a Response object. * This is useful for type guards and uses Jest's expect to throw an error if the value is not a Response. * @param response - The value to assert is a Response object. */ export declare function assertIsResponse(response: unknown): asserts response is Response; /** * Creates a new Request object with the given search parameters. * @param request - The original Request object. * @param modifier - The search parameters to add or modify. * @returns A new Request object with the modified search parameters. */ export declare function createRequestWithSearchParams(request: Request, modifier: SearchParamsModifier): Request; /** * Creates a mock WorkOS authentication response object. * @param overrides - Any properties to override in the mock response. * @returns A mock WorkOS authentication response object. */ export declare function createAuthWithCodeResponse(overrides?: Record): { accessToken: string; refreshToken: string; user: { id: string; email: string; emailVerified: boolean; profilePictureUrl: string; firstName: string; lastName: string; object: "user"; createdAt: string; updatedAt: string; lastSignInAt: string; externalId: null; }; }; export {};