// Types for grant-props.js — written rather than `@ts-expect-error`'d, on the same criterion as // tenant-rate-limit.d.ts: the two grant writers pass this object straight into // `completeAuthorization({ props })`, and what a session can later read is exactly this shape. export const GRANT_ID_PREFIX: string; /** A fresh authorization id for one grant. */ export function newGrantId(): string; export interface GrantProps { tenant: string; grantId: string; clientId?: string; } /** The props for one authorization: the verified tenant, a fresh grant id, and the client id when * there is one. */ export function grantProps(tenant: string, clientId: unknown): GrantProps;