import React from "react";
export interface AgentDocumentListHandle {
    uploadFiles: (files: FileList | File[]) => Promise<void>;
}
interface AgentDocumentListProps {
    agentId: string;
    maxFileSizeMB?: number;
    enabled?: boolean;
    profileId?: string;
    headerless?: boolean;
    onCountChange?: (count: number) => void;
    /**
     * When true, the component only loads documents (to feed `onCountChange`)
     * and renders nothing. Use for offscreen mounts that drive a count badge
     * without producing visible duplicates of the docs UI.
     */
    loadOnly?: boolean;
    headerActionsContainer?: HTMLElement | null;
    /** Called when the component wants its containing popover to close
     *  (e.g. before opening the media library picker so it doesn't sit
     *  behind the popover). */
    onRequestClose?: () => void;
}
export declare const AgentDocumentList: React.ForwardRefExoticComponent<AgentDocumentListProps & React.RefAttributes<AgentDocumentListHandle>>;
export {};
