import React, { ReactNode } from "react"; export declare const usePromiseState: | Promise[]>(p: P | (() => P), keyName?: string) => [P, React.Dispatch

]; export declare const PromiseProvider: ({ streaming, children, }: { streaming?: boolean | undefined; children: ReactNode; }) => JSX.Element;