export interface BaseOpts { json?: boolean; podUrl?: string; apiKey?: string; details?: boolean; } export declare const parseLimit: (s: string | undefined, def: number) => number; export declare function formatHit(hit: Record): { title: string; type: string; id: string; }; export declare function orient(opts: BaseOpts): Promise; export declare function useWorkspace(workspaceId: string, opts: BaseOpts): Promise; export declare function listWorkspaces(opts: BaseOpts): Promise; export declare function listEntities(opts: BaseOpts & { workspace?: string; profile?: string; limit?: string; role?: string; }): Promise; export declare function getEntity(id: string, opts: BaseOpts & { workspace?: string; }): Promise; export declare function askKnowledge(query: string, opts: BaseOpts & { workspace?: string; limit?: string; json?: boolean; session?: boolean; compare?: boolean; }): Promise; export declare function createEntity(opts: BaseOpts & { profile: string; name: string; workspace?: string; props?: string; }): Promise; export declare function listProfiles(opts: BaseOpts & { workspace?: string; json?: boolean; }): Promise; export declare function createRelation(opts: BaseOpts & { source: string; target: string; type: string; workspace?: string; }): Promise; export declare function updateEntity(id: string, opts: BaseOpts & { props: string; workspace?: string; }): Promise;