import { PayloadAction } from '@reduxjs/toolkit'; import type { WellknownResponse } from '@forgerock/sdk-types'; import type { InternalJourneyClientConfig } from './config.types.js'; /** * Payload dispatched to the config slice after well-known resolution. * Carries the raw well-known response so the slice owns the conversion * to internal server config via {@link convertWellknown}. */ export interface ResolvedConfig { type: 'wellknown'; wellknownResponse: WellknownResponse; } interface BaseConfig { type: 'baseUrl'; baseUrl: string; paths: { authenticate: string; sessions: string; }; } /** * Redux slice for journey client configuration. * * Separated from the journey auth state slice (which holds authId, step, error) * so that configuration concerns don't mix with authentication flow state. * The `set` action converts the raw well-known response via `convertWellknown()` * and stores the resulting `ResolvedServerConfig`. */ export declare const configSlice: import("@reduxjs/toolkit").Slice, action: PayloadAction): void; }, "config", "config", import("@reduxjs/toolkit").SliceSelectors>; export {}; //# sourceMappingURL=config.slice.d.ts.map