/**
 * Workspace Handlers
 *
 * Unified handlers for workspace operations including:
 * - Filesystem operations (read, write, list, delete, mkdir, stat)
 * - Search operations (search, index)
 * - Skills operations (list, get, search, references)
 */
export declare const LIST_WORKSPACES_ROUTE: import("../server-adapter").ServerRoute<{}, {
    workspaces: {
        status: string;
        name: string;
        id: string;
        capabilities: {
            hasFilesystem: boolean;
            hasSandbox: boolean;
            canBM25: boolean;
            canVector: boolean;
            canHybrid: boolean;
            hasSkills: boolean;
        };
        safety: {
            readOnly: boolean;
        };
        source: "agent" | "mastra";
        agentId?: string | undefined;
        agentName?: string | undefined;
    }[];
}, "json">;
export declare const GET_WORKSPACE_ROUTE: import("../server-adapter").ServerRoute<{
    workspaceId: string;
}, {
    isWorkspaceConfigured: boolean;
    status?: string | undefined;
    name?: string | undefined;
    id?: string | undefined;
    capabilities?: {
        hasFilesystem: boolean;
        hasSandbox: boolean;
        canBM25: boolean;
        canVector: boolean;
        canHybrid: boolean;
        hasSkills: boolean;
    } | undefined;
    safety?: {
        readOnly: boolean;
    } | undefined;
    filesystem?: {
        name: string;
        id: string;
        provider: string;
        status?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        error?: string | undefined;
        readOnly?: boolean | undefined;
        icon?: string | undefined;
    } | undefined;
}, "json">;
export declare const WORKSPACE_FS_READ_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    path: import("zod").ZodString;
    encoding: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    encoding?: string | undefined;
}, {
    path: string;
    encoding?: string | undefined;
}>, undefined>, {
    path: string;
    type: "file" | "directory";
    content: string;
    mimeType?: string | undefined;
    size?: number | undefined;
}, "json">;
export declare const WORKSPACE_FS_WRITE_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    path: import("zod").ZodString;
    content: import("zod").ZodString;
    encoding: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["utf-8", "base64"]>>>;
    recursive: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    content: string;
    encoding: "utf-8" | "base64";
    recursive?: boolean | undefined;
}, {
    path: string;
    content: string;
    encoding?: "utf-8" | "base64" | undefined;
    recursive?: boolean | undefined;
}>>, {
    path: string;
    success: boolean;
}, "json">;
export declare const WORKSPACE_FS_LIST_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    path: import("zod").ZodString;
    recursive: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    recursive?: boolean | undefined;
}, {
    path: string;
    recursive?: boolean | undefined;
}>, undefined>, {
    path: string;
    entries: {
        type: "file" | "directory";
        name: string;
        size?: number | undefined;
        mount?: {
            provider: string;
            status?: "error" | "running" | "pending" | "initializing" | "ready" | "starting" | "stopping" | "stopped" | "destroying" | "destroyed" | undefined;
            error?: string | undefined;
            description?: string | undefined;
            icon?: string | undefined;
            displayName?: string | undefined;
        } | undefined;
    }[];
}, "json">;
export declare const WORKSPACE_FS_DELETE_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    path: import("zod").ZodString;
    recursive: import("zod").ZodOptional<import("zod").ZodBoolean>;
    force: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    recursive?: boolean | undefined;
    force?: boolean | undefined;
}, {
    path: string;
    recursive?: boolean | undefined;
    force?: boolean | undefined;
}>, undefined>, {
    path: string;
    success: boolean;
}, "json">;
export declare const WORKSPACE_FS_MKDIR_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    path: import("zod").ZodString;
    recursive: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    recursive?: boolean | undefined;
}, {
    path: string;
    recursive?: boolean | undefined;
}>>, {
    path: string;
    success: boolean;
}, "json">;
export declare const WORKSPACE_FS_STAT_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    path: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
}, {
    path: string;
}>, undefined>, {
    path: string;
    type: "file" | "directory";
    createdAt?: string | undefined;
    mimeType?: string | undefined;
    size?: number | undefined;
    modifiedAt?: string | undefined;
}, "json">;
export declare const WORKSPACE_SEARCH_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    query: import("zod").ZodString;
    topK: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    mode: import("zod").ZodOptional<import("zod").ZodEnum<["bm25", "vector", "hybrid"]>>;
    minScore: import("zod").ZodOptional<import("zod").ZodNumber>;
}, "strip", import("zod").ZodTypeAny, {
    topK: number;
    query: string;
    mode?: "vector" | "bm25" | "hybrid" | undefined;
    minScore?: number | undefined;
}, {
    query: string;
    topK?: number | undefined;
    mode?: "vector" | "bm25" | "hybrid" | undefined;
    minScore?: number | undefined;
}>, undefined>, {
    query: string;
    mode: "vector" | "bm25" | "hybrid";
    results: {
        id: string;
        content: string;
        score: number;
        lineRange?: {
            start: number;
            end: number;
        } | undefined;
        scoreDetails?: {
            vector?: number | undefined;
            bm25?: number | undefined;
        } | undefined;
    }[];
}, "json">;
export declare const WORKSPACE_INDEX_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    path: import("zod").ZodString;
    content: import("zod").ZodString;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    content: string;
    metadata?: Record<string, unknown> | undefined;
}, {
    path: string;
    content: string;
    metadata?: Record<string, unknown> | undefined;
}>>, {
    path: string;
    success: boolean;
}, "json">;
export declare const WORKSPACE_LIST_SKILLS_ROUTE: import("../server-adapter").ServerRoute<{
    workspaceId: string;
}, {
    skills: {
        path: string;
        name: string;
        description: string;
        metadata?: Record<string, unknown> | undefined;
        license?: string | undefined;
        compatibility?: unknown;
        skillsShSource?: {
            owner: string;
            repo: string;
        } | undefined;
    }[];
    isSkillsConfigured: boolean;
}, "json">;
export declare const WORKSPACE_GET_SKILL_ROUTE: import("../server-adapter").ServerRoute<{
    skillName: string;
    workspaceId: string;
}, {
    path: string;
    name: string;
    description: string;
    instructions: string;
    source: {
        type: "external";
        packagePath: string;
    } | {
        type: "local";
        projectPath: string;
    } | {
        type: "managed";
        mastraPath: string;
    };
    references: string[];
    scripts: string[];
    assets: string[];
    metadata?: Record<string, unknown> | undefined;
    license?: string | undefined;
    compatibility?: unknown;
}, "json">;
export declare const WORKSPACE_LIST_SKILL_REFERENCES_ROUTE: import("../server-adapter").ServerRoute<{
    skillName: string;
    workspaceId: string;
}, {
    skillName: string;
    references: string[];
}, "json">;
export declare const WORKSPACE_GET_SKILL_REFERENCE_ROUTE: import("../server-adapter").ServerRoute<{
    skillName: string;
    workspaceId: string;
    referencePath: string;
}, {
    skillName: string;
    content: string;
    referencePath: string;
}, "json">;
export declare const WORKSPACE_SEARCH_SKILLS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    query: import("zod").ZodString;
    topK: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    minScore: import("zod").ZodOptional<import("zod").ZodNumber>;
    skillNames: import("zod").ZodOptional<import("zod").ZodString>;
    includeReferences: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
}, "strip", import("zod").ZodTypeAny, {
    topK: number;
    query: string;
    includeReferences: boolean;
    minScore?: number | undefined;
    skillNames?: string | undefined;
}, {
    query: string;
    topK?: number | undefined;
    minScore?: number | undefined;
    skillNames?: string | undefined;
    includeReferences?: boolean | undefined;
}>, undefined>, {
    query: string;
    results: {
        skillName: string;
        content: string;
        score: number;
        source: string;
        lineRange?: {
            start: number;
            end: number;
        } | undefined;
        scoreDetails?: {
            vector?: number | undefined;
            bm25?: number | undefined;
        } | undefined;
    }[];
}, "json">;
export declare const WORKSPACE_SKILLS_SH_SEARCH_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    q: import("zod").ZodString;
    limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
}, "strip", import("zod").ZodTypeAny, {
    limit: number;
    q: string;
}, {
    q: string;
    limit?: number | undefined;
}>, undefined>, {
    skills: {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }[];
    query: string;
    searchType: string;
    count: number;
}, "json">;
export declare const WORKSPACE_SKILLS_SH_POPULAR_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
}, "strip", import("zod").ZodTypeAny, {
    offset: number;
    limit: number;
}, {
    offset?: number | undefined;
    limit?: number | undefined;
}>, undefined>, {
    offset: number;
    limit: number;
    skills: {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }[];
    count: number;
}, "json">;
export declare const WORKSPACE_SKILLS_SH_PREVIEW_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    owner: import("zod").ZodString;
    repo: import("zod").ZodString;
    path: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    owner: string;
    repo: string;
}, {
    path: string;
    owner: string;
    repo: string;
}>, undefined>, {
    content: string;
}, "json">;
export declare const WORKSPACE_SKILLS_SH_INSTALL_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    owner: import("zod").ZodString;
    repo: import("zod").ZodString;
    skillName: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    skillName: string;
    owner: string;
    repo: string;
}, {
    skillName: string;
    owner: string;
    repo: string;
}>>, {
    success: boolean;
    skillName: string;
    installedPath: string;
    filesWritten: number;
}, "json">;
export declare const WORKSPACE_SKILLS_SH_REMOVE_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    skillName: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    skillName: string;
}, {
    skillName: string;
}>>, {
    success: boolean;
    skillName: string;
    removedPath: string;
}, "json">;
export declare const WORKSPACE_SKILLS_SH_UPDATE_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    skillName: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
    skillName?: string | undefined;
}, {
    skillName?: string | undefined;
}>>, {
    updated: {
        success: boolean;
        skillName: string;
        error?: string | undefined;
        filesWritten?: number | undefined;
    }[];
}, "json">;
export declare const WORKSPACE_SKILLS_SH_ROUTES: (import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    q: import("zod").ZodString;
    limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
}, "strip", import("zod").ZodTypeAny, {
    limit: number;
    q: string;
}, {
    q: string;
    limit?: number | undefined;
}>, undefined>, {
    skills: {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }[];
    query: string;
    searchType: string;
    count: number;
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
}, "strip", import("zod").ZodTypeAny, {
    offset: number;
    limit: number;
}, {
    offset?: number | undefined;
    limit?: number | undefined;
}>, undefined>, {
    offset: number;
    limit: number;
    skills: {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }[];
    count: number;
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    owner: import("zod").ZodString;
    repo: import("zod").ZodString;
    path: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    owner: string;
    repo: string;
}, {
    path: string;
    owner: string;
    repo: string;
}>, undefined>, {
    content: string;
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    owner: import("zod").ZodString;
    repo: import("zod").ZodString;
    skillName: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    skillName: string;
    owner: string;
    repo: string;
}, {
    skillName: string;
    owner: string;
    repo: string;
}>>, {
    success: boolean;
    skillName: string;
    installedPath: string;
    filesWritten: number;
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    skillName: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    skillName: string;
}, {
    skillName: string;
}>>, {
    success: boolean;
    skillName: string;
    removedPath: string;
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    skillName: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
    skillName?: string | undefined;
}, {
    skillName?: string | undefined;
}>>, {
    updated: {
        success: boolean;
        skillName: string;
        error?: string | undefined;
        filesWritten?: number | undefined;
    }[];
}, "json">)[];
export declare const WORKSPACE_FS_ROUTES: (import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    path: import("zod").ZodString;
    encoding: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    encoding?: string | undefined;
}, {
    path: string;
    encoding?: string | undefined;
}>, undefined>, {
    path: string;
    type: "file" | "directory";
    content: string;
    mimeType?: string | undefined;
    size?: number | undefined;
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    path: import("zod").ZodString;
    content: import("zod").ZodString;
    encoding: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["utf-8", "base64"]>>>;
    recursive: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    content: string;
    encoding: "utf-8" | "base64";
    recursive?: boolean | undefined;
}, {
    path: string;
    content: string;
    encoding?: "utf-8" | "base64" | undefined;
    recursive?: boolean | undefined;
}>>, {
    path: string;
    success: boolean;
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    path: import("zod").ZodString;
    recursive: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    recursive?: boolean | undefined;
}, {
    path: string;
    recursive?: boolean | undefined;
}>, undefined>, {
    path: string;
    entries: {
        type: "file" | "directory";
        name: string;
        size?: number | undefined;
        mount?: {
            provider: string;
            status?: "error" | "running" | "pending" | "initializing" | "ready" | "starting" | "stopping" | "stopped" | "destroying" | "destroyed" | undefined;
            error?: string | undefined;
            description?: string | undefined;
            icon?: string | undefined;
            displayName?: string | undefined;
        } | undefined;
    }[];
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    path: import("zod").ZodString;
    recursive: import("zod").ZodOptional<import("zod").ZodBoolean>;
    force: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    recursive?: boolean | undefined;
    force?: boolean | undefined;
}, {
    path: string;
    recursive?: boolean | undefined;
    force?: boolean | undefined;
}>, undefined>, {
    path: string;
    success: boolean;
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    path: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
}, {
    path: string;
}>, undefined>, {
    path: string;
    type: "file" | "directory";
    createdAt?: string | undefined;
    mimeType?: string | undefined;
    size?: number | undefined;
    modifiedAt?: string | undefined;
}, "json">)[];
export declare const WORKSPACE_SEARCH_ROUTES: (import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    query: import("zod").ZodString;
    topK: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    mode: import("zod").ZodOptional<import("zod").ZodEnum<["bm25", "vector", "hybrid"]>>;
    minScore: import("zod").ZodOptional<import("zod").ZodNumber>;
}, "strip", import("zod").ZodTypeAny, {
    topK: number;
    query: string;
    mode?: "vector" | "bm25" | "hybrid" | undefined;
    minScore?: number | undefined;
}, {
    query: string;
    topK?: number | undefined;
    mode?: "vector" | "bm25" | "hybrid" | undefined;
    minScore?: number | undefined;
}>, undefined>, {
    query: string;
    mode: "vector" | "bm25" | "hybrid";
    results: {
        id: string;
        content: string;
        score: number;
        lineRange?: {
            start: number;
            end: number;
        } | undefined;
        scoreDetails?: {
            vector?: number | undefined;
            bm25?: number | undefined;
        } | undefined;
    }[];
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, undefined, import("zod").ZodObject<{
    path: import("zod").ZodString;
    content: import("zod").ZodString;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, "strip", import("zod").ZodTypeAny, {
    path: string;
    content: string;
    metadata?: Record<string, unknown> | undefined;
}, {
    path: string;
    content: string;
    metadata?: Record<string, unknown> | undefined;
}>>, {
    path: string;
    success: boolean;
}, "json">)[];
export declare const WORKSPACE_SKILLS_ROUTES: (import("../server-adapter").ServerRoute<{
    workspaceId: string;
}, {
    skills: {
        path: string;
        name: string;
        description: string;
        metadata?: Record<string, unknown> | undefined;
        license?: string | undefined;
        compatibility?: unknown;
        skillsShSource?: {
            owner: string;
            repo: string;
        } | undefined;
    }[];
    isSkillsConfigured: boolean;
}, "json"> | import("../server-adapter").ServerRoute<{
    skillName: string;
    workspaceId: string;
}, {
    path: string;
    name: string;
    description: string;
    instructions: string;
    source: {
        type: "external";
        packagePath: string;
    } | {
        type: "local";
        projectPath: string;
    } | {
        type: "managed";
        mastraPath: string;
    };
    references: string[];
    scripts: string[];
    assets: string[];
    metadata?: Record<string, unknown> | undefined;
    license?: string | undefined;
    compatibility?: unknown;
}, "json"> | import("../server-adapter").ServerRoute<{
    skillName: string;
    workspaceId: string;
}, {
    skillName: string;
    references: string[];
}, "json"> | import("../server-adapter").ServerRoute<{
    skillName: string;
    workspaceId: string;
    referencePath: string;
}, {
    skillName: string;
    content: string;
    referencePath: string;
}, "json"> | import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    workspaceId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>, import("zod").ZodObject<{
    query: import("zod").ZodString;
    topK: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    minScore: import("zod").ZodOptional<import("zod").ZodNumber>;
    skillNames: import("zod").ZodOptional<import("zod").ZodString>;
    includeReferences: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
}, "strip", import("zod").ZodTypeAny, {
    topK: number;
    query: string;
    includeReferences: boolean;
    minScore?: number | undefined;
    skillNames?: string | undefined;
}, {
    query: string;
    topK?: number | undefined;
    minScore?: number | undefined;
    skillNames?: string | undefined;
    includeReferences?: boolean | undefined;
}>, undefined>, {
    query: string;
    results: {
        skillName: string;
        content: string;
        score: number;
        source: string;
        lineRange?: {
            start: number;
            end: number;
        } | undefined;
        scoreDetails?: {
            vector?: number | undefined;
            bm25?: number | undefined;
        } | undefined;
    }[];
}, "json">)[];
//# sourceMappingURL=workspace.d.ts.map