import React from 'react'; interface RoleOption { value: string; label: string; } interface InviteMemberFormProps { organizationId: string; onSuccess?: (invitation: any) => void; onCancel?: () => void; /** * Frontend URL for the invitation link. * If not provided, will use window.location.origin */ frontendUrl?: string; /** * Custom role options to display in the dropdown. * If not provided, roles will be fetched from the organization's defined roles. * * @example * // For a business application * roles={[ * { value: 'ADMIN', label: 'Administrator' }, * { value: 'MANAGER', label: 'Manager' }, * { value: 'SALES', label: 'Sales Staff' } * ]} * * @example * // For a hospital application * roles={[ * { value: 'ADMIN', label: 'Administrator' }, * { value: 'DOCTOR', label: 'Doctor' }, * { value: 'NURSE', label: 'Nurse' }, * { value: 'PATIENT', label: 'Patient' } * ]} */ roles?: RoleOption[]; /** * @deprecated Use `roles` instead */ customRoles?: RoleOption[]; /** * If true, fetch roles from the organization's defined roles. * Default: true (will fetch if roles prop is not provided) */ fetchRoles?: boolean; } export declare const InviteMemberForm: React.FC; export {};