import { CSVImporterProps } from "./types";
type CreateImporterProps = CSVImporterProps & {
    domElement?: Element;
};
export declare function createCSVImporter(props: CreateImporterProps): {
    instance: (import("preact").FunctionalComponent<import("preact/compat").PropsWithoutRef<CSVImporterProps> & {
        ref?: import("preact").Ref<unknown> | undefined;
    }> & HTMLDialogElement) | null;
    showModal: () => void;
    closeModal: () => void;
};
export {};
