/** `roleSessionName` — how the STS session of a vended role is named, which is what the target account's console
 *  and CloudTrail show as the federated user (`<Role>/<session name>`). `userId` is the Cognito sub
 *  (`creds-<sub>`); `email` is the caller's email (a token's owner, a service user's registry name). Omit = userId. */
export type RoleSessionNamePolicy = "userId" | "email";
export declare const ROLE_SESSION_NAME_POLICIES: readonly RoleSessionNamePolicy[];
/** A bad value must fail synth — the API would silently fall back to the sub. */
export declare function resolveRoleSessionName(cfg?: RoleSessionNamePolicy): RoleSessionNamePolicy;
