@okcontract/sdk
Version:
One-stop-shop permissionless SDK for building any blockchain frontend
60 lines (59 loc) • 1.6 kB
TypeScript
import type { AnyCell, SheetProxy } from "@okcontract/cells";
import { type Environment } from "@okcontract/lambdascript";
export declare const valueToDefinition: (proxy: SheetProxy, value: AnyCell<unknown>, env: AnyCell<Environment>, label?: string, css?: string) => import("@okcontract/cells").MapCell<{
label: string;
base: string;
css: string;
isAddress?: undefined;
link?: undefined;
array?: undefined;
object?: undefined;
} | {
label: string;
base: string;
isAddress: boolean;
link: string;
css: string;
array?: undefined;
object?: undefined;
} | {
label: string;
array: () => import("@okcontract/cells").MapCell<{
label: string;
base: string;
css: string;
isAddress?: undefined;
link?: undefined;
array?: undefined;
object?: undefined;
} | {
label: string;
base: string;
isAddress: boolean;
link: string;
css: string;
array?: undefined;
object?: undefined;
} | any | {
label: string;
object: import("@okcontract/cells").ValueCell<any>;
css: string;
base?: undefined;
isAddress?: undefined;
link?: undefined;
array?: undefined;
}, false>;
css: string;
base?: undefined;
isAddress?: undefined;
link?: undefined;
object?: undefined;
} | {
label: string;
object: import("@okcontract/cells").ValueCell<any>;
css: string;
base?: undefined;
isAddress?: undefined;
link?: undefined;
array?: undefined;
}, false>;