UNPKG

@fleek-platform/agents-ui

Version:

The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward

20 lines (19 loc) 826 B
import type { CharacterFormSchemaV2 } from '@base/config/v2/schema'; import type { UseFormReturn } from 'react-hook-form'; import type { DraftSettingsForm } from '.'; type UseManagedServiceSecretsParams = { modelProviderPlugins?: CharacterFormSchemaV2['plugins']; defaultEnabled?: boolean; }; type FormMethodsProp = { character: Pick<UseFormReturn<CharacterFormSchemaV2>, 'setValue' | 'getValues'>; settings: Pick<UseFormReturn<DraftSettingsForm>, 'setValue' | 'resetField' | 'unregister'>; }; export declare const useManagedServiceSecretsV2: ({ modelProviderPlugins, defaultEnabled, }: UseManagedServiceSecretsParams) => { isManagedServiceEnabled: boolean; toggleManagedService: ({ formMethods, }: { formMethods: FormMethodsProp; }) => void; removedSecretKeys: string[]; }; export {};