@deep-foundation/deepcase
Version:
[](https://gitpod.io/#https://github.com/deep-foundation/deepcase) [](https://discord.gg/deep-
30 lines (29 loc) • 1.03 kB
TypeScript
import { DeepClient } from "@deep-foundation/deeplinks/imports/client";
import { Id } from "@deep-foundation/deeplinks/imports/minilinks";
import React from 'react';
export declare const ClientHandler: React.NamedExoticComponent<ClientHandlerProps>;
export declare const r: any;
export declare function evalClientHandler({ value, deep, input, }: {
value: string;
deep: DeepClient;
input?: any;
}): Promise<{
error?: any;
data?: any;
}>;
export interface ClientHandlerRendererProps {
Component: any;
fillSize?: boolean;
onClose?: () => any;
[key: string]: any;
}
export declare const ClientHandlerRenderer: React.NamedExoticComponent<ClientHandlerRendererProps>;
export interface ClientHandlerProps extends Partial<ClientHandlerRendererProps> {
linkId: Id;
handlerId?: Id;
context?: Id[];
ml?: any;
error?: any;
onClose?: () => any;
}
export declare function useFindClientHandler({ linkId, handlerId, context, ml, onClose, fillSize, ...props }: ClientHandlerProps): any;