import { Api } from "@newstackdev/iosdk-newgraph-client-js"; import { Context } from "./overmind/overmind"; import React from "react"; export declare class CreatorApi extends Api<{ token: string; }> { } export declare type NLView = React.FunctionComponent>; export declare type GenericComponent = NLView | React.FC; export declare type IOView = NLView; export declare type Action = (context: Context, value: T) => R | Promise; export interface Link { url?: string; text: string; } export declare type EmbeddableControlNextCommand = (args?: { command: () => void; text: string; }) => void; export declare type EmbeddableControl = { embedded?: boolean; setNext?: EmbeddableControlNextCommand; handleCallBack?: (value: any) => any; setIsErrorSubmit?: React.Dispatch>; isErrorSubmit?: boolean; }; export declare type Timer = ReturnType; export declare type EventHandler = (e?: KeyboardEvent | MouseEvent) => void; export declare type Callback = (e?: T) => void; export declare type ActiveKey = "0" | "1" | "2" | "3"; export declare type FirebaseConfig = { apiKey: string; authDomain: string; projectId: string; storageBucket: string; messagingSenderId: string; appId: string; measurementId: string; }; export declare enum ContentType { video = "video/mp4", text = "text/plain", image = "image/jpeg" }