import { UserAuthState } from '../store/userAuth';
export interface UserAuthStatusResponse {
    state: UserAuthState;
    reason?: string;
    external_user_id?: string;
}
export interface UserAuthStartResponse {
    auth_url: string;
    tier: 'user';
}
/**
 * Reads the signed-in agent's user-tier connection state for a
 * connector. Called on card mount when `connector.userAuthEnabled`
 * is true; not called for legacy connectors so legacy mount paths
 * stay byte-for-byte unchanged.
 */
export declare const getUserAuthStatus: (connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
/**
 * Builds the OAuth authorization URL the agent visits in a popup to
 * connect their personal account. The BE encodes `state.tier=user`
 * + `state.user_id` so the callback knows to land in
 * /process_user_callback rather than the workspace flow.
 */
export declare const startUserAuth: (connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
//# sourceMappingURL=userAuth.d.ts.map