import type { Application } from '../../declarations'; import { AgentCredentialsPayload, CredentialsPayload } from '@magickml/credentials'; import type { Params } from '@feathersjs/feathers'; export declare class CredentialsService { static app: Application; private credentialsManager; constructor(app: Application); create(data: CredentialsPayload, params?: Params): Promise<{ id: string; }>; remove(id: string): Promise; find(params: any): Promise[]>; linkCredentialToAgent(data: AgentCredentialsPayload): Promise; listAgentCredentials(data: { agentId: string; serviceType?: string; }): Promise; removeAgentCredential(data: { agentId: string; credentialId: string; }): Promise; getCredentials(id: string): Promise<{ credentials: { name: string; serviceType: string; credentialType: string; description: string | null; pluginName: string | null; }; created_at: Date; updated_at: Date; agentId: string; credentialId: string; }[]>; } export declare const getOptions: () => { name: string; };