import type { Organization } from "@stigmer/protos/ai/stigmer/tenancy/organization/v1/api_pb";
/** Props for {@link OrgSwitcher}. */
export interface OrgSwitcherProps {
    /**
     * Called when the user explicitly switches to a different organization
     * or creates a new one.
     *
     * This fires only on user-initiated changes — not on initial load,
     * background refresh, or programmatic context updates. Use it to
     * trigger side effects like navigation without fragile `useEffect`
     * guards on the active org.
     */
    readonly onOrgChanged?: (org: Organization) => void;
    /** Additional CSS class names merged onto the trigger (or root in error/loading states). */
    readonly className?: string;
}
/**
 * Organization switcher dropdown for sidebar navigation.
 *
 * Shows the active organization (name + slug), lists personal and team
 * organizations grouped with icons, and provides a "Create organization"
 * action that opens an inline dialog with {@link CreateOrganizationForm}.
 *
 * Designed for sidebar placement — the trigger uses `sidebar-*` design
 * tokens. The portaled dropdown and dialog use standard `popover-*` /
 * main-area tokens per theme-token-guidelines.
 *
 * Must be rendered inside an {@link OrgProvider}.
 *
 * @example
 * ```tsx
 * <OrgSwitcher onOrgChanged={(org) => navigate("/")} />
 * ```
 */
export declare function OrgSwitcher({ onOrgChanged, className }: OrgSwitcherProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=OrgSwitcher.d.ts.map