import type { SerializedError } from '@reduxjs/toolkit'; import type { FetchBaseQueryError } from '@reduxjs/toolkit/query'; import { Micro } from 'effect'; import type { GetAuthorizationUrlOptions } from '@forgerock/sdk-types'; import type { StorageConfig } from '@forgerock/storage'; import type { TokenExchangeResponse, TokenRequestOptions } from './exchange.types.js'; import type { TokenExchangeErrorResponse } from './exchange.types.js'; import type { OidcConfig } from './config.types.js'; export declare function createValuesµ(code: string, config: OidcConfig, state: string, endpoint: string, options?: Partial): Micro.Micro<{ code: string; config: OidcConfig; state: string; storedValues: GetAuthorizationUrlOptions; endpoint: string; }, never, never>; export declare function handleTokenResponseµ(data: TokenExchangeResponse | undefined, error?: FetchBaseQueryError | SerializedError): Micro.Micro; export declare function validateValuesµ({ code, config, state, storedValues, endpoint, }: { code: string; config: OidcConfig; state: string; storedValues: GetAuthorizationUrlOptions; endpoint: string; }): Micro.Micro | Micro.Micro; //# sourceMappingURL=exchange.utils.d.ts.map