UNPKG

@lark-project/cli

Version:

飞书项目插件开发工具

22 lines (21 loc) 667 B
import { isValidPluginId, isValidURL } from "../../../utils/validate-tools"; declare const KV_VALIDATOR: { pluginId: { validator: typeof isValidPluginId; interceptor: any; }; pluginSecret: { validator: (value: any) => boolean; interceptor: { set: (value: any) => string; get: (value: any) => string; }; }; siteDomain: { validator: typeof isValidURL; interceptor: any; }; }; export declare function setConfig(key: keyof typeof KV_VALIDATOR, value: string | number | boolean): Promise<void>; export declare function getConfig(key: string): Promise<any>; export {};