import type { DynamicClient } from '../../../../client/types';
export type ClearFlowSessionTokenParams = {
    flowId: string;
};
/**
 * Removes the locally stored flow session token for the given flow.
 *
 * The flow session token is the anonymous credential that authorizes
 * mutations to a single in-flight flow. Once the flow has reached a
 * terminal state (cancelled, expired, failed, completed) it can no
 * longer be advanced, and the token is dead weight that should not be
 * persisted in browser storage — leaving it around lets a later XSS payload
 * exfiltrate a credential with no further use, and it can also confuse the
 * SDK on subsequent loads into believing an active session exists.
 *
 * The server-side revocation lives in dashboard-api; this is the SDK-side
 * defense-in-depth.
 *
 * @notInstrumented
 */
export declare const clearFlowSessionToken: ({ flowId }: ClearFlowSessionTokenParams, client: DynamicClient) => Promise<void>;
//# sourceMappingURL=clearFlowSessionToken.d.ts.map