import * as react_jsx_runtime from 'react/jsx-runtime';
import { AdminClient } from '@datatechsolutions/shared-domain';
import { a as BillingPanelProps } from '../../billing-panel-DsHhhJqG.js';

type PlatformSettingsSection = 'account' | 'organization' | 'billing';
interface PlatformSettingsProps {
    /**
     * Sections to surface to the current user. The host app is responsible for
     * picking the right set based on RBAC — e.g. hide `organization` for users
     * without `org:manage` and hide `billing` for users without `billing:read`.
     * Defaults to all three.
     */
    sections?: PlatformSettingsSection[];
    /** Starting section. Defaults to the first item in `sections`. */
    defaultSection?: PlatformSettingsSection;
    /**
     * Windsock admin API client. Required when `organization` is in `sections`.
     * Create it once with `createAdminClient({ issuer, authClient })` and reuse.
     */
    adminClient?: AdminClient;
    /**
     * Current organization id (usually `ctx.organizationId` from the JWT).
     * Required when `organization` is in `sections`.
     */
    organizationId?: string;
    /** Forwarded to `<BillingPanel>` — e.g. redirect handler, billing interval. */
    billing?: BillingPanelProps;
}
declare function PlatformSettings({ sections, defaultSection, adminClient, organizationId, billing, }: PlatformSettingsProps): react_jsx_runtime.JSX.Element | null;

export { PlatformSettings, type PlatformSettingsProps, type PlatformSettingsSection };
