/**
 * MSW handlers for the user-tier auth lifecycle endpoints (see
 * custom-integrations qa-user-auth-framework).
 *
 * The mock cycles per-connector through a deterministic state for
 * dev exploration:
 *  - First read for any unknown connectorId returns `disconnected`.
 *  - After POST /user-auth/start completes, subsequent reads return
 *    `in_progress` for the first 4 seconds (so the in-progress
 *    modal is visible without needing a real OAuth round-trip),
 *    then flip to `connected`.
 *
 * Override the default for specific connectorIds via the
 * VITE_USER_AUTH_MOCK_STATE env var (JSON map). Useful for
 * Storybook / Chromatic snapshots of the four states.
 */
interface MockEntry {
    state: 'disconnected' | 'in_progress' | 'connected' | 'reauth_required' | 'workspace_mismatch';
    reason?: string;
    externalUserId?: string;
    inProgressUntil?: number;
}
export declare const handlers: import('msw').HttpHandler[];
/**
 * Test helpers — reset state between test cases so each test starts
 * from a clean slate.
 */
export declare const __resetUserAuthMockState: () => void;
export declare const __setUserAuthMockEntry: (connectorId: string, entry: MockEntry) => void;
export {};
//# sourceMappingURL=user-auth.d.ts.map