import { ResourceSource } from '../../types/common';
interface Props {
    modelSource: ResourceSource;
    preventLoad?: boolean;
}
export declare const useExecutorchModule: ({ modelSource, preventLoad, }: Props) => {
    error: string | null;
    isReady: boolean;
    isGenerating: boolean;
    downloadProgress: number;
    forward: (inputTensor: import("../../types/common").TensorPtr[]) => Promise<import("../../types/common").TensorPtr[]>;
};
export {};
