import type { DataFieldSourceLaunchBinding, DataFieldSourceQuery, DataFieldSourceRecord, DataRecordEditInput, DepartmentReferenceValue, ResourceReferenceValue, UserReferenceValue, WorkflowTaskSourceBinding } from 'openxiangda-contracts/browser'; import { type DirectoryKind } from './platform-client'; type Source = DirectoryKind | 'resource'; type StoredValue = UserReferenceValue | DepartmentReferenceValue | ResourceReferenceValue; export type AuthoritativeSelectorProps = { value?: StoredValue | StoredValue[]; onChange?: (value: StoredValue | StoredValue[] | undefined) => void; source: Source; operation: DataFieldSourceQuery['operation']; multiple?: boolean; disabled?: boolean; id?: string; placeholder: string; /** Host resource and field; the platform resolves the target source declaration. */ resourceCode?: string; fieldCode?: string; bindings?: Record; launch?: DataFieldSourceLaunchBinding; action?: DataRecordEditInput; task?: WorkflowTaskSourceBinding; record?: DataFieldSourceRecord; }; export declare function AuthoritativeSelector({ value, onChange, source, operation, multiple, disabled, id, placeholder, resourceCode, fieldCode, bindings, launch: launchInput, action: actionInput, task: taskInput, record: recordInput, }: AuthoritativeSelectorProps): import("react/jsx-runtime").JSX.Element; /** Mobile fields consume the same authoritative query and stored snapshots. */ export declare function MobileAuthoritativeSelector(props: AuthoritativeSelectorProps): import("react/jsx-runtime").JSX.Element; export declare function ResolvedValueText({ source, value, }: { source: Source; value?: StoredValue | StoredValue[]; }): import("react/jsx-runtime").JSX.Element; /** Resolve operational identities such as audit actors; business fields never use this path. */ export declare function DirectoryIdentityText({ source, id, }: { source: DirectoryKind; id: string; }): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=AuthoritativeSelector.d.ts.map