import { RuntimeFunctionRef, RuntimeRef } from '@hashbrownai/core'; /** * Options for creating a runtime. * * @public */ export interface UseRuntimeOptions { /** * The timeout for the runtime. * * @defaultValue 10000 */ timeout?: number; /** * The functions that are available in the runtime. */ functions: [...RuntimeFunctionRef[]]; } /** * Creates a new runtime. * * @param options - The options for creating the runtime. * @returns A reference to the runtime. * * @public */ export declare function useRuntime(options: UseRuntimeOptions): RuntimeRef; //# sourceMappingURL=use-runtime.d.ts.map