import type { OAuthApp } from "@stigmer/protos/ai/stigmer/iam/oauthapp/v1/api_pb";
/** Props for {@link OAuthAppListPanel}. */
export interface OAuthAppListPanelProps {
    /** Organization slug to list OAuth apps for. */
    readonly org: string;
    /**
     * Fired when the user wants to view/edit an OAuth app.
     * When provided, rows become interactive with a pencil icon button.
     * When absent, rows remain static (backward compatible).
     */
    readonly onEdit?: (app: OAuthApp) => void;
    /** Re-expose refetch so parents can trigger a list refresh. */
    readonly onRefetchRef?: (refetch: () => void) => void;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Displays a list of {@link OAuthApp} resources owned by an
 * organization.
 *
 * Each row shows the provider name, client ID (non-secret), and
 * creation date. When `onEdit` is provided, rows include a pencil
 * icon that fires the callback with the selected app — enabling
 * navigation to a detail/edit view.
 *
 * All visual properties flow through `--stgm-*` design tokens.
 *
 * @example
 * ```tsx
 * <OAuthAppListPanel org="acme" />
 * ```
 *
 * @example
 * ```tsx
 * <OAuthAppListPanel
 *   org="acme"
 *   onEdit={(app) => setFlow({ phase: "editing", oauthApp: app })}
 *   onRefetchRef={(refetch) => { listRefetchRef.current = refetch; }}
 * />
 * ```
 */
export declare function OAuthAppListPanel({ org, onEdit, onRefetchRef, className, }: OAuthAppListPanelProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=OAuthAppListPanel.d.ts.map