import type { StartupConfigContext } from './config'; import type { AssistantsEndpoint } from './schemas'; import { ResourceType } from './accessPermissions'; import * as q from './types/queries'; export declare const apiBaseUrl: () => string; export declare const health: () => string; export declare const user: () => string; export declare const userPreferences: () => string; export declare const balance: () => string; export declare const userPlugins: () => string; export declare const deleteUser: () => string; export declare const codeEnvironments: () => string; export declare const codeEnvironmentPairings: () => string; export declare const codeEnvironmentById: (id: string) => string; export declare const codeEnvironmentSettings: (id: string) => string; export declare const codeEnvironmentStatus: (id: string) => string; export declare const messages: (params: q.MessagesListParams) => string; export declare const messagesArtifacts: (messageId: string) => string; export declare const messagesBranch: () => string; export declare const shareMessages: (shareId: string) => string; export declare const forkSharedMessages: (shareId: string) => string; export declare const sharedStartupConfig: (shareId: string) => string; export declare const getSharedLink: (conversationId: string) => string; export declare const getSharedLinks: (pageSize: number, sortBy: "title" | "createdAt", sortDirection: "asc" | "desc", search?: string, cursor?: string) => string; export declare const createSharedLink: (conversationId: string) => string; export declare const updateSharedLink: (shareId: string) => string; /** Share-scoped file routes: serve snapshotted files via shared-link permission. */ export declare const sharedFile: (shareId: string, fileId: string) => string; export declare const sharedFileDownload: (shareId: string, fileId: string) => string; export declare const sharedFilePreview: (shareId: string, fileId: string) => string; export declare const keys: () => string; export declare const userKeyQuery: (name: string) => string; export declare const revokeUserKey: (name: string) => string; export declare const revokeAllUserKeys: () => string; export declare const apiKeys: () => string; export declare const apiKeyById: (id: string) => string; export declare const conversationsRoot: string; export declare const conversations: (params: q.ConversationListParams) => string; export declare const conversationById: (id: string) => string; export declare const parentSubagents: (parentConversationId: string) => string; export declare const subagentThread: (parentConversationId: string, threadId: string, taskId?: string, cursor?: string) => string; export declare const subagentControl: (parentConversationId: string, threadId: string) => string; export declare const genTitle: (conversationId: string) => string; export declare const updateConversation: () => string; export declare const archiveConversation: () => string; export declare const archiveAllConversations: () => string; export declare const pinConversation: () => string; export declare const deleteConversation: () => string; export declare const deleteAllConversation: () => string; export declare const importConversation: () => string; export declare const forkConversation: () => string; export declare const duplicateConversation: () => string; export declare const projectsRoot: string; export declare const projects: (params?: q.ProjectListParams) => string; export declare const projectById: (id: string) => string; export declare const projectConversation: (conversationId: string) => string; export declare const search: (q: string, cursor?: string | null) => string; export declare const searchEnabled: () => string; export declare const presets: () => string; export declare const deletePreset: () => string; export declare const aiEndpoints: () => string; export declare const tokenConfig: () => string; export declare const models: () => string; export declare const tokenizer: () => string; export declare const login: () => string; export declare const logout: () => string; export declare const register: () => string; export declare const loginFacebook: () => string; export declare const loginGoogle: () => string; export declare const refreshToken: (retry?: boolean) => string; export declare const requestPasswordReset: () => string; export declare const resetPassword: () => string; export declare const verifyEmail: () => string; export declare const loginPage: () => string; export declare const registerPage: () => string; /** * Builds a `/login?redirect_to=...` URL from the given or current location. * Returns plain `/login` (no param) when already on a login route to prevent recursive nesting. */ export declare function buildLoginRedirectUrl(pathname?: string, search?: string, hash?: string): string; export declare const resendVerificationEmail: () => string; export declare const plugins: () => string; export declare const mcpReinitialize: (serverName: string) => string; export declare const mcpConnectionStatus: () => string; export declare const mcpServerConnectionStatus: (serverName: string) => string; export declare const mcpAuthValues: (serverName: string) => string; export declare const cancelMCPOAuth: (serverName: string) => string; export declare const mcpOAuthStatus: (flowId: string) => string; export declare const mcpOAuthBind: (serverName: string) => string; export declare const actionOAuthBind: (actionId: string) => string; export declare const config: (context?: StartupConfigContext) => string; export declare const prompts: () => string; export declare const addPromptToGroup: (groupId: string) => string; export declare const assistants: ({ path, options, version, endpoint, isAvatar, }: { path?: string; options?: object; endpoint?: AssistantsEndpoint; version: number | string; isAvatar?: boolean; }) => string; export declare const agents: ({ path, options }: { path?: string; options?: object; }) => string; export declare const activeJobs: () => string; export declare const agentQueuedTurns: () => string; export declare const agentQueuedTurnsByConversation: (conversationId: string, clientRequestIds?: string[]) => string; export declare const agentQueuedTurn: (queuedTurnId: string) => string; export declare const mcp: { tools: string; servers: string; }; export declare const mcpServer: (serverName: string) => string; export declare const revertAgentVersion: (agent_id: string) => string; export declare const files: () => string; export declare const fileUpload: () => string; export declare const fileDelete: () => string; export declare const fileDownload: (userId: string, fileId: string) => string; export declare const filePreview: (fileId: string) => string; export declare const fileConfig: () => string; /** Owner-scoped usage touch so queued attachments outlive the upload-window TTL. */ export declare const fileUsage: () => string; export declare const agentFiles: (agentId: string) => string; export declare const images: () => string; export declare const avatar: () => string; export declare const speech: () => string; export declare const speechToText: () => string; export declare const textToSpeech: () => string; export declare const textToSpeechManual: () => string; export declare const textToSpeechVoices: () => string; export declare const getCustomConfigSpeech: () => string; export declare const getPromptGroup: (_id: string) => string; export declare const getPromptGroupsWithFilters: (filter: object) => string; export declare const getPromptsWithFilters: (filter: object) => string; export declare const getPrompt: (_id: string) => string; export declare const getRandomPrompts: (limit: number, skip: number) => string; export declare const postPrompt: () => string; export declare const updatePromptGroup: (_id: string) => string; export declare const recordPromptGroupUsage: (groupId: string) => string; export declare const updatePromptLabels: (_id: string) => string; export declare const updatePromptTag: (_id: string) => string; export declare const deletePromptGroup: (_id: string) => string; export declare const deletePrompt: ({ _id, groupId }: { _id: string; groupId: string; }) => string; export declare const getCategories: () => string; export declare const getAllPromptGroups: () => string; export declare const schedules: () => string; export declare const schedule: (id: string) => string; export declare const runSchedule: (id: string) => string; export declare const skills: () => string; export declare const importSkill: () => string; export declare const getSkill: (id: string) => string; export declare const listSkillsWithFilters: (filter: Record) => string; export declare const skillFiles: (id: string) => string; export declare const skillFile: (id: string, relativePath: string) => string; export declare const insights: () => string; export declare const insightsAccess: () => string; export declare const conversationTrace: (conversationId: string) => string; export declare const conversationTraceAvailability: (conversationId: string) => string; export declare const conversationTraceRecords: (conversationId: string, cursor?: string) => string; export declare const conversationTraceRecord: (conversationId: string, recordId: string, messageId: string, sourceId?: string) => string; export declare const adminSkillsSync: () => string; export declare const adminSkillsSyncStatus: () => string; export declare const adminSkillsSyncRun: () => string; export declare const adminSkillsSyncCredential: (credentialKey: string) => string; /** * Skill filesystem tree (phase 2). URL shape mirrors the original UI PR so * the tree hooks keep their call surface. `path` is pre-encoded by the * caller (e.g. `${nodeId}/content`). */ export declare const skillTree: ({ skillId, path }: { skillId: string; path?: string; }) => string; export declare const skillStates: () => string; export declare const adminLangfuseConnection: () => string; export declare const adminLangfuseConnectionTest: () => string; export declare const adminLangfuseSessionLink: (conversationId: string) => string; export declare const pinnedOrder: () => string; export declare const toolFavorites: () => string; export declare const toolFavorite: (itemType: string, itemId: string) => string; export declare const roles: () => string; export declare const adminRoles: () => string; export declare const getRole: (roleName: string) => string; export declare const updatePromptPermissions: (roleName: string) => string; export declare const updateMemoryPermissions: (roleName: string) => string; export declare const updateAgentPermissions: (roleName: string) => string; export declare const updatePeoplePickerPermissions: (roleName: string) => string; export declare const updateMCPServersPermissions: (roleName: string) => string; export declare const updateRemoteAgentsPermissions: (roleName: string) => string; export declare const updateMarketplacePermissions: (roleName: string) => string; export declare const updateSkillPermissions: (roleName: string) => string; export declare const conversationTags: (tag?: string) => string; export declare const conversationTagsList: (pageNumber: string, sort?: string, order?: string) => string; export declare const addTagToConversation: (conversationId: string) => string; export declare const userTerms: () => string; export declare const acceptUserTerms: () => string; export declare const banner: () => string; export declare const feedback: (conversationId: string, messageId: string) => string; export declare const enableTwoFactor: () => string; export declare const verifyTwoFactor: () => string; export declare const confirmTwoFactor: () => string; export declare const disableTwoFactor: () => string; export declare const regenerateBackupCodes: () => string; export declare const verifyTwoFactorTemp: () => string; export declare const memories: () => string; export declare const memory: (key: string, agentId?: string) => string; export declare const memoryById: (id: string, agentId?: string) => string; export declare const memoryPreferences: () => string; export declare const searchPrincipals: (params: q.PrincipalSearchParams) => string; export declare const getAccessRoles: (resourceType: ResourceType) => string; export declare const getResourcePermissions: (resourceType: ResourceType, resourceId: string) => string; export declare const updateResourcePermissions: (resourceType: ResourceType, resourceId: string) => string; export declare const getEffectivePermissions: (resourceType: ResourceType, resourceId: string) => string; export declare const getAllEffectivePermissions: (resourceType: ResourceType) => string; export declare const graphToken: (scopes: string) => string;