/** * Carries `returnTo` inside the OAuth `state` parameter. * The value stored and sent is the envelope; `readStepUpState` recovers both parts. */ export declare const encodeStepUpState: (state: string, returnTo: string) => string; /** * Reads a step-up `state` value. States that are not step-up envelopes are returned unchanged. */ export declare const readStepUpState: (state: string) => { state: string; returnTo?: string; };