import { Micro } from 'effect'; import type { JWTPayload } from 'jose'; import type { CustomLogger } from '@forgerock/sdk-logger'; import type { GenericError, WellknownResponse } from '@forgerock/sdk-types'; import type { StorageClient } from '@forgerock/storage'; import type { OauthTokens, OidcConfig } from './config.types.js'; import type { ClientStore } from './client.types.js'; import type { SessionCheckOptions, SessionCheckSuccess } from './session.types.js'; export declare const readStoredIdTokenµ: (storageClient: StorageClient) => Micro.Micro; export declare const dispatchSessionCheckIframeµ: (store: ClientStore, url: string, responseType: "id_token" | "none") => Micro.Micro, GenericError, never>; export declare const dispatchSessionCheckFetchµ: (store: ClientStore, url: string) => Micro.Micro; export declare const validateSessionCheckResponseµ: (iframeParams: Record, state: string, nonce: string, subject?: string) => Micro.Micro; export declare const buildNoneUrl: (endpoint: string, config: OidcConfig, storedIdToken: string, redirectUri: string, options?: SessionCheckOptions) => string; export declare const buildIdTokenUrl: (endpoint: string, config: OidcConfig, storedIdToken: string | null, redirectUri: string, options?: SessionCheckOptions) => { url: string; nonce: string; state: string; }; export declare const sessionCheckNoneµ: (wellknown: WellknownResponse, config: OidcConfig, store: ClientStore, storageClient: StorageClient, log: CustomLogger, options?: SessionCheckOptions) => Micro.Micro; export declare const sessionCheckIdTokenµ: (wellknown: WellknownResponse, config: OidcConfig, store: ClientStore, storageClient: StorageClient, log: CustomLogger, options?: SessionCheckOptions) => Micro.Micro; //# sourceMappingURL=session.micros.d.ts.map