/** Typed keys for Store.getData/setData */ export declare const STORE_KEYS: { readonly workosStore: '_workos_store'; readonly eventBus: 'eventBus'; readonly apiKeyMap: 'apiKeyMap'; readonly jwtTemplate: 'jwt_template'; /** The seed's `sessionSettings`: production's Sessions tab, which has no API of its own. */ readonly sessionSettings: 'session_settings'; readonly interactiveAuth: 'interactiveAuth'; /** Set alongside interactiveAuth when the AuthKit login page should also ask for a password. */ readonly interactivePassword: 'interactivePassword'; readonly allowedRedirectHosts: 'allowedRedirectHosts'; }; /** Prefix for dynamic store keys */ export declare const STORE_KEY_PREFIXES: { readonly pendingAuth: 'pending_auth:'; /** A password the interactive page has checked, carried across the organization page instead of the password itself. */ readonly interactiveLogin: 'interactive_login:'; /** A validated `/oauth2/authorize` request, waiting on the hosted sign-in it redirected to. */ readonly connectAuthorize: 'connect_authorize:'; readonly ssoToken: 'sso_token:'; readonly ssoLogout: 'sso_logout:'; readonly auditSchema: 'audit_schema_'; readonly radarIpList: 'radar_ip_list'; }; /** * Resource type a permission or role is scoped to when the caller supplies * none. Production scopes both to the built-in `organization` resource type by * default; the emulator does the same so every response carries the * spec-required `resource_type_slug`. */ export declare const DEFAULT_RESOURCE_TYPE_SLUG = "organization"; /** * Lifetime of the access token `/user_management/authenticate` mints when the seed's * `sessionSettings` sets none: five minutes, the default "Access token duration" on an * application's Sessions tab in the dashboard. The refresh token carries the session past it. */ export declare const DEFAULT_ACCESS_TOKEN_TTL_SECONDS = 300; /** * Technical ceiling on a seeded access-token lifetime, not a production limit: it keeps `exp` * a safe integer once the current time is added, so the signed value is exactly the requested * lifetime. The 32-bit figure is otherwise arbitrary; nothing a test wants is anywhere near it. */ export declare const MAX_ACCESS_TOKEN_TTL_SECONDS: number; /** * `resource_type_slug` is optional wherever the emulator accepts it (create * DTOs and seed entries), but a supplied value must be a non-empty string. * Resource types are not modeled, so the slug is not checked against a * registry the way production does. */ export declare function isValidResourceTypeSlug(value: unknown): value is string | undefined; /** * WorkOS event catalog, generated from the OpenAPI spec. * Regenerate with: npm run gen:events -- path/to/open-api-spec.yaml */ export { EVENTS, SUBSCRIBABLE_EVENTS, EVENT_DATA_REQUIREMENTS, type WorkOSEventName, type AuthenticationEventData, } from './generated/events.js';