import * as client from '@botpress/client'; import * as common from '../common'; import * as types from './types'; export * from './types'; /** * Just like the regular botpress client, but typed with the bot's properties. */ export declare class BotSpecificClient implements types.ClientOperations { private _client; private _hooks; constructor(_client: client.Client, _hooks?: types.ClientHooks); /** * Access the underlying Botpress client. * This is useful for operations that are not available in the BotSpecificClient. * You probably shouldn't use this directly if you don't know what you're doing. */ get _inner(): client.Client; getConversation: types.GetConversation; listConversations: types.ListConversations; updateConversation: types.UpdateConversation; deleteConversation: types.DeleteConversation; listParticipants: types.ListParticipants; addParticipant: types.AddParticipant; getParticipant: types.GetParticipant; removeParticipant: types.RemoveParticipant; createEvent: types.CreateEvent; getEvent: types.GetEvent; listEvents: types.ListEvents; createMessage: types.CreateMessage; getMessage: types.GetMessage; updateMessage: types.UpdateMessage; listMessages: types.ListMessages; deleteMessage: types.DeleteMessage; getUser: types.GetUser; listUsers: types.ListUsers; updateUser: types.UpdateUser; deleteUser: types.DeleteUser; getState: types.GetState; setState: types.SetState; getOrSetState: types.GetOrSetState; patchState: types.PatchState; callAction: types.CallAction; uploadFile: types.UploadFile; upsertFile: types.UpsertFile; deleteFile: types.DeleteFile; listFiles: types.ListFiles; getFile: types.GetFile; updateFileMetadata: types.UpdateFileMetadata; searchFiles: types.SearchFiles; trackAnalytics: types.TrackAnalytics; getTableRow: types.GetTableRow; createTableRows: types.CreateTableRows; findTableRows: types.FindTableRows; deleteTableRows: types.DeleteTableRows; updateTableRows: types.UpdateTableRows; upsertTableRows: types.UpsertTableRows; createWorkflow: types.CreateWorkflow; getOrCreateWorkflow: types.GetOrCreateWorkflow; getWorkflow: types.GetWorkflow; updateWorkflow: types.UpdateWorkflow; deleteWorkflow: types.DeleteWorkflow; listWorkflows: types.ListWorkflows; /** * @deprecated Use `callAction` to delegate the conversation creation to an integration. */ createConversation: types.CreateConversation; /** * @deprecated Use `callAction` to delegate the conversation creation to an integration. */ getOrCreateConversation: types.GetOrCreateConversation; /** * @deprecated Use `callAction` to delegate the user creation to an integration. */ createUser: types.CreateUser; /** * @deprecated Use `callAction` to delegate the user creation to an integration. */ getOrCreateUser: types.GetOrCreateUser; private _run; }