;
/** The retry button got or lost focus (kept when it is removed with focus: a removed button may not blur). */
retryFocus: (focused: boolean) => void;
remove: () => void;
retry: () => void;
}
/** The state of the enclosing `FileUploader.Item` (status, percent, finished …). */
export declare function useItemContext(part?: string): ItemContextValue;
/** One file (a ``): `edit` can be removed, `uploading` with a `progress` too (a cancel), `complete` not. */
export declare function Item({ name, uuid, status, invalid, retryable, disabled: ownDisabled, progress, onDelete, onRetry, children, ...rest }: Readonly): import("react").JSX.Element;
/** The row inside the item: focus lands on it when its last button goes with focus (`aria-disabled` while disabled). */
export declare function ItemRow({ ref, ...rest }: Readonly>): import("react").JSX.Element;
/** Removes the file (`onDelete`); with a `progress`, cancels its upload. Name it with the file's name. Not on a `complete` row or one uploading without a `progress` (as ``). */
export declare function Remove({ ref, ...props }: Readonly, 'type' | 'disabled'>>): import("react").JSX.Element | null;
/** Starts a failed upload again (`onRetry`): only on an invalid `retryable` row. Name it with the file's name. */
export declare function Retry({ ref, ...props }: Readonly, 'type' | 'disabled'>>): import("react").JSX.Element | null;
/** A polite live region (`role="status"`): its children ("Uploaded: name") once an upload finished. */
export declare function ItemStatus({ children, ...rest }: Readonly, 'role'>>): import("react").JSX.Element;