UNPKG

sb-mig

Version:

CLI to rule the world. (and handle stuff related to Storyblok CMS)

11 lines (10 loc) 904 B
import type { ApiClient } from "../client.js"; export declare function getAllComponents(client: ApiClient): Promise<any[]>; export declare function getComponent(client: ApiClient, componentName: string): Promise<any>; export declare function getAllComponentsGroups(client: ApiClient): Promise<any[]>; export declare function getComponentsGroup(client: ApiClient, groupName: string): Promise<any>; export declare function createComponentsGroup(client: ApiClient, groupName: string): Promise<any>; export declare function removeComponentGroup(client: ApiClient, componentGroup: any): Promise<any>; export declare function removeComponent(client: ApiClient, component: any): Promise<any>; export declare function createComponent(client: ApiClient, component: any, presets?: boolean): Promise<any>; export declare function updateComponent(client: ApiClient, component: any, presets?: boolean): Promise<any>;