import type { ChangeEventHandler, MouseEventHandler } from "react"; import React from "react"; import type { BaseControlProps } from "./Control.js"; export interface PickerProps extends BaseControlProps { /** * Value of the path input. Use defaultValue if the path input should be editable */ value?: string; /** * Default value of the path input */ defaultValue?: string; /** * If the path input should be editable or read only. */ readOnly?: boolean; /** * Called when the path input is updated */ onChange?: ChangeEventHandler; /** * Called when the browse button is pressed */ onBrowse?: MouseEventHandler; } /** * Generic path picker * Compatible with native clients and browsers */ export declare const Picker: React.ForwardRefExoticComponent>;