export declare function UseAPI(api: Function): (o: any) => void;