/**
 * Workspace Schemas
 *
 * All Zod schemas for workspace operations including:
 * - Filesystem operations (read, write, list, delete, mkdir, stat)
 * - Search operations (search, index)
 * - Skills operations (list, get, search, references)
 */
import z from 'zod';
export declare const fsPathParams: z.ZodObject<{
    path: z.ZodString;
}, "strip", z.ZodTypeAny, {
    path: string;
}, {
    path: string;
}>;
export declare const workspaceIdPathParams: z.ZodObject<{
    workspaceId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    workspaceId: string;
}, {
    workspaceId: string;
}>;
export declare const fsReadQuerySchema: z.ZodObject<{
    path: z.ZodString;
    encoding: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    path: string;
    encoding?: string | undefined;
}, {
    path: string;
    encoding?: string | undefined;
}>;
export declare const fsListQuerySchema: z.ZodObject<{
    path: z.ZodString;
    recursive: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    path: string;
    recursive?: boolean | undefined;
}, {
    path: string;
    recursive?: boolean | undefined;
}>;
export declare const fsStatQuerySchema: z.ZodObject<{
    path: z.ZodString;
}, "strip", z.ZodTypeAny, {
    path: string;
}, {
    path: string;
}>;
export declare const fsDeleteQuerySchema: z.ZodObject<{
    path: z.ZodString;
    recursive: z.ZodOptional<z.ZodBoolean>;
    force: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    path: string;
    recursive?: boolean | undefined;
    force?: boolean | undefined;
}, {
    path: string;
    recursive?: boolean | undefined;
    force?: boolean | undefined;
}>;
export declare const fsWriteBodySchema: z.ZodObject<{
    path: z.ZodString;
    content: z.ZodString;
    encoding: z.ZodDefault<z.ZodOptional<z.ZodEnum<["utf-8", "base64"]>>>;
    recursive: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    path: string;
    content: string;
    encoding: "utf-8" | "base64";
    recursive?: boolean | undefined;
}, {
    path: string;
    content: string;
    encoding?: "utf-8" | "base64" | undefined;
    recursive?: boolean | undefined;
}>;
export declare const fsMkdirBodySchema: z.ZodObject<{
    path: z.ZodString;
    recursive: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    path: string;
    recursive?: boolean | undefined;
}, {
    path: string;
    recursive?: boolean | undefined;
}>;
export declare const fileEntrySchema: z.ZodObject<{
    name: z.ZodString;
    type: z.ZodEnum<["file", "directory"]>;
    size: z.ZodOptional<z.ZodNumber>;
    mount: z.ZodOptional<z.ZodObject<{
        provider: z.ZodString;
        icon: z.ZodOptional<z.ZodString>;
        displayName: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        status: z.ZodOptional<z.ZodEnum<["pending", "initializing", "ready", "starting", "running", "stopping", "stopped", "destroying", "destroyed", "error"]>>;
        error: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        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;
    }, {
        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;
    }>>;
}, "strip", z.ZodTypeAny, {
    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;
}, {
    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;
}>;
export declare const fsReadResponseSchema: z.ZodObject<{
    path: z.ZodString;
    content: z.ZodString;
    type: z.ZodEnum<["file", "directory"]>;
    size: z.ZodOptional<z.ZodNumber>;
    mimeType: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    path: string;
    type: "file" | "directory";
    content: string;
    mimeType?: string | undefined;
    size?: number | undefined;
}, {
    path: string;
    type: "file" | "directory";
    content: string;
    mimeType?: string | undefined;
    size?: number | undefined;
}>;
export declare const fsWriteResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    path: z.ZodString;
}, "strip", z.ZodTypeAny, {
    path: string;
    success: boolean;
}, {
    path: string;
    success: boolean;
}>;
export declare const fsListResponseSchema: z.ZodObject<{
    path: z.ZodString;
    entries: z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        type: z.ZodEnum<["file", "directory"]>;
        size: z.ZodOptional<z.ZodNumber>;
        mount: z.ZodOptional<z.ZodObject<{
            provider: z.ZodString;
            icon: z.ZodOptional<z.ZodString>;
            displayName: z.ZodOptional<z.ZodString>;
            description: z.ZodOptional<z.ZodString>;
            status: z.ZodOptional<z.ZodEnum<["pending", "initializing", "ready", "starting", "running", "stopping", "stopped", "destroying", "destroyed", "error"]>>;
            error: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            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;
        }, {
            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;
        }>>;
    }, "strip", z.ZodTypeAny, {
        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;
    }, {
        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;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    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;
    }[];
}, {
    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;
    }[];
}>;
export declare const fsDeleteResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    path: z.ZodString;
}, "strip", z.ZodTypeAny, {
    path: string;
    success: boolean;
}, {
    path: string;
    success: boolean;
}>;
export declare const fsMkdirResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    path: z.ZodString;
}, "strip", z.ZodTypeAny, {
    path: string;
    success: boolean;
}, {
    path: string;
    success: boolean;
}>;
export declare const fsStatResponseSchema: z.ZodObject<{
    path: z.ZodString;
    type: z.ZodEnum<["file", "directory"]>;
    size: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodOptional<z.ZodString>;
    modifiedAt: z.ZodOptional<z.ZodString>;
    mimeType: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    path: string;
    type: "file" | "directory";
    createdAt?: string | undefined;
    mimeType?: string | undefined;
    size?: number | undefined;
    modifiedAt?: string | undefined;
}, {
    path: string;
    type: "file" | "directory";
    createdAt?: string | undefined;
    mimeType?: string | undefined;
    size?: number | undefined;
    modifiedAt?: string | undefined;
}>;
export declare const searchQuerySchema: z.ZodObject<{
    query: z.ZodString;
    topK: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    mode: z.ZodOptional<z.ZodEnum<["bm25", "vector", "hybrid"]>>;
    minScore: z.ZodOptional<z.ZodNumber>;
}, "strip", z.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;
}>;
export declare const searchResultSchema: z.ZodObject<{
    id: z.ZodString;
    content: z.ZodString;
    score: z.ZodNumber;
    lineRange: z.ZodOptional<z.ZodObject<{
        start: z.ZodNumber;
        end: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        start: number;
        end: number;
    }, {
        start: number;
        end: number;
    }>>;
    scoreDetails: z.ZodOptional<z.ZodObject<{
        vector: z.ZodOptional<z.ZodNumber>;
        bm25: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        vector?: number | undefined;
        bm25?: number | undefined;
    }, {
        vector?: number | undefined;
        bm25?: number | undefined;
    }>>;
}, "strip", z.ZodTypeAny, {
    id: string;
    content: string;
    score: number;
    lineRange?: {
        start: number;
        end: number;
    } | undefined;
    scoreDetails?: {
        vector?: number | undefined;
        bm25?: number | undefined;
    } | undefined;
}, {
    id: string;
    content: string;
    score: number;
    lineRange?: {
        start: number;
        end: number;
    } | undefined;
    scoreDetails?: {
        vector?: number | undefined;
        bm25?: number | undefined;
    } | undefined;
}>;
export declare const searchResponseSchema: z.ZodObject<{
    results: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        content: z.ZodString;
        score: z.ZodNumber;
        lineRange: z.ZodOptional<z.ZodObject<{
            start: z.ZodNumber;
            end: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            start: number;
            end: number;
        }, {
            start: number;
            end: number;
        }>>;
        scoreDetails: z.ZodOptional<z.ZodObject<{
            vector: z.ZodOptional<z.ZodNumber>;
            bm25: z.ZodOptional<z.ZodNumber>;
        }, "strip", z.ZodTypeAny, {
            vector?: number | undefined;
            bm25?: number | undefined;
        }, {
            vector?: number | undefined;
            bm25?: number | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        content: string;
        score: number;
        lineRange?: {
            start: number;
            end: number;
        } | undefined;
        scoreDetails?: {
            vector?: number | undefined;
            bm25?: number | undefined;
        } | undefined;
    }, {
        id: string;
        content: string;
        score: number;
        lineRange?: {
            start: number;
            end: number;
        } | undefined;
        scoreDetails?: {
            vector?: number | undefined;
            bm25?: number | undefined;
        } | undefined;
    }>, "many">;
    query: z.ZodString;
    mode: z.ZodEnum<["bm25", "vector", "hybrid"]>;
}, "strip", z.ZodTypeAny, {
    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;
    }[];
}, {
    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;
    }[];
}>;
export declare const indexBodySchema: z.ZodObject<{
    path: z.ZodString;
    content: z.ZodString;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    path: string;
    content: string;
    metadata?: Record<string, unknown> | undefined;
}, {
    path: string;
    content: string;
    metadata?: Record<string, unknown> | undefined;
}>;
export declare const indexResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    path: z.ZodString;
}, "strip", z.ZodTypeAny, {
    path: string;
    success: boolean;
}, {
    path: string;
    success: boolean;
}>;
export declare const workspaceInfoResponseSchema: z.ZodObject<{
    isWorkspaceConfigured: z.ZodBoolean;
    id: z.ZodOptional<z.ZodString>;
    name: z.ZodOptional<z.ZodString>;
    status: z.ZodOptional<z.ZodString>;
    capabilities: z.ZodOptional<z.ZodObject<{
        hasFilesystem: z.ZodBoolean;
        hasSandbox: z.ZodBoolean;
        canBM25: z.ZodBoolean;
        canVector: z.ZodBoolean;
        canHybrid: z.ZodBoolean;
        hasSkills: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        hasFilesystem: boolean;
        hasSandbox: boolean;
        canBM25: boolean;
        canVector: boolean;
        canHybrid: boolean;
        hasSkills: boolean;
    }, {
        hasFilesystem: boolean;
        hasSandbox: boolean;
        canBM25: boolean;
        canVector: boolean;
        canHybrid: boolean;
        hasSkills: boolean;
    }>>;
    safety: z.ZodOptional<z.ZodObject<{
        readOnly: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        readOnly: boolean;
    }, {
        readOnly: boolean;
    }>>;
}, "strip", z.ZodTypeAny, {
    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;
}, {
    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;
}>;
export declare const listWorkspacesResponseSchema: z.ZodObject<{
    workspaces: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        status: z.ZodString;
        source: z.ZodEnum<["mastra", "agent"]>;
        agentId: z.ZodOptional<z.ZodString>;
        agentName: z.ZodOptional<z.ZodString>;
        capabilities: z.ZodObject<{
            hasFilesystem: z.ZodBoolean;
            hasSandbox: z.ZodBoolean;
            canBM25: z.ZodBoolean;
            canVector: z.ZodBoolean;
            canHybrid: z.ZodBoolean;
            hasSkills: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            hasFilesystem: boolean;
            hasSandbox: boolean;
            canBM25: boolean;
            canVector: boolean;
            canHybrid: boolean;
            hasSkills: boolean;
        }, {
            hasFilesystem: boolean;
            hasSandbox: boolean;
            canBM25: boolean;
            canVector: boolean;
            canHybrid: boolean;
            hasSkills: boolean;
        }>;
        safety: z.ZodObject<{
            readOnly: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            readOnly: boolean;
        }, {
            readOnly: boolean;
        }>;
    }, "strip", z.ZodTypeAny, {
        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;
    }, {
        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;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    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;
    }[];
}, {
    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;
    }[];
}>;
export declare const skillNamePathParams: z.ZodObject<{
    workspaceId: z.ZodString;
} & {
    skillName: z.ZodString;
}, "strip", z.ZodTypeAny, {
    skillName: string;
    workspaceId: string;
}, {
    skillName: string;
    workspaceId: string;
}>;
export declare const skillReferencePathParams: z.ZodObject<{
    workspaceId: z.ZodString;
} & {
    skillName: z.ZodString;
} & {
    referencePath: z.ZodString;
}, "strip", z.ZodTypeAny, {
    skillName: string;
    workspaceId: string;
    referencePath: string;
}, {
    skillName: string;
    workspaceId: string;
    referencePath: string;
}>;
export declare const searchSkillsQuerySchema: z.ZodObject<{
    query: z.ZodString;
    topK: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    minScore: z.ZodOptional<z.ZodNumber>;
    skillNames: z.ZodOptional<z.ZodString>;
    includeReferences: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.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;
}>;
export declare const skillMetadataSchema: z.ZodObject<{
    name: z.ZodString;
    description: z.ZodString;
    license: z.ZodOptional<z.ZodString>;
    compatibility: z.ZodOptional<z.ZodUnknown>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    name: string;
    description: string;
    metadata?: Record<string, unknown> | undefined;
    license?: string | undefined;
    compatibility?: unknown;
}, {
    name: string;
    description: string;
    metadata?: Record<string, unknown> | undefined;
    license?: string | undefined;
    compatibility?: unknown;
}>;
export declare const skillSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<"external">;
    packagePath: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "external";
    packagePath: string;
}, {
    type: "external";
    packagePath: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<"local">;
    projectPath: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "local";
    projectPath: string;
}, {
    type: "local";
    projectPath: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<"managed">;
    mastraPath: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "managed";
    mastraPath: string;
}, {
    type: "managed";
    mastraPath: string;
}>]>;
export declare const skillSchema: z.ZodObject<{
    name: z.ZodString;
    description: z.ZodString;
    license: z.ZodOptional<z.ZodString>;
    compatibility: z.ZodOptional<z.ZodUnknown>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
} & {
    path: z.ZodString;
    instructions: z.ZodString;
    source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
        type: z.ZodLiteral<"external">;
        packagePath: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "external";
        packagePath: string;
    }, {
        type: "external";
        packagePath: string;
    }>, z.ZodObject<{
        type: z.ZodLiteral<"local">;
        projectPath: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "local";
        projectPath: string;
    }, {
        type: "local";
        projectPath: string;
    }>, z.ZodObject<{
        type: z.ZodLiteral<"managed">;
        mastraPath: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "managed";
        mastraPath: string;
    }, {
        type: "managed";
        mastraPath: string;
    }>]>;
    references: z.ZodArray<z.ZodString, "many">;
    scripts: z.ZodArray<z.ZodString, "many">;
    assets: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
    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;
}, {
    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;
}>;
/**
 * Source info for skills installed via skills.sh
 * Stored in .meta.json when a skill is installed
 */
export declare const skillsShSourceSchema: z.ZodObject<{
    owner: z.ZodString;
    repo: z.ZodString;
}, "strip", z.ZodTypeAny, {
    owner: string;
    repo: string;
}, {
    owner: string;
    repo: string;
}>;
export declare const skillMetadataWithPathSchema: z.ZodObject<{
    name: z.ZodString;
    description: z.ZodString;
    license: z.ZodOptional<z.ZodString>;
    compatibility: z.ZodOptional<z.ZodUnknown>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
} & {
    path: z.ZodString;
    /** Source info for skills installed via skills.sh (from .meta.json) */
    skillsShSource: z.ZodOptional<z.ZodObject<{
        owner: z.ZodString;
        repo: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        owner: string;
        repo: string;
    }, {
        owner: string;
        repo: string;
    }>>;
}, "strip", z.ZodTypeAny, {
    path: string;
    name: string;
    description: string;
    metadata?: Record<string, unknown> | undefined;
    license?: string | undefined;
    compatibility?: unknown;
    skillsShSource?: {
        owner: string;
        repo: string;
    } | undefined;
}, {
    path: string;
    name: string;
    description: string;
    metadata?: Record<string, unknown> | undefined;
    license?: string | undefined;
    compatibility?: unknown;
    skillsShSource?: {
        owner: string;
        repo: string;
    } | undefined;
}>;
export declare const listSkillsResponseSchema: z.ZodObject<{
    skills: z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        description: z.ZodString;
        license: z.ZodOptional<z.ZodString>;
        compatibility: z.ZodOptional<z.ZodUnknown>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    } & {
        path: z.ZodString;
        /** Source info for skills installed via skills.sh (from .meta.json) */
        skillsShSource: z.ZodOptional<z.ZodObject<{
            owner: z.ZodString;
            repo: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            owner: string;
            repo: string;
        }, {
            owner: string;
            repo: string;
        }>>;
    }, "strip", z.ZodTypeAny, {
        path: string;
        name: string;
        description: string;
        metadata?: Record<string, unknown> | undefined;
        license?: string | undefined;
        compatibility?: unknown;
        skillsShSource?: {
            owner: string;
            repo: string;
        } | undefined;
    }, {
        path: string;
        name: string;
        description: string;
        metadata?: Record<string, unknown> | undefined;
        license?: string | undefined;
        compatibility?: unknown;
        skillsShSource?: {
            owner: string;
            repo: string;
        } | undefined;
    }>, "many">;
    isSkillsConfigured: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
    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;
}, {
    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;
}>;
export declare const getSkillResponseSchema: z.ZodObject<{
    name: z.ZodString;
    description: z.ZodString;
    license: z.ZodOptional<z.ZodString>;
    compatibility: z.ZodOptional<z.ZodUnknown>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
} & {
    path: z.ZodString;
    instructions: z.ZodString;
    source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
        type: z.ZodLiteral<"external">;
        packagePath: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "external";
        packagePath: string;
    }, {
        type: "external";
        packagePath: string;
    }>, z.ZodObject<{
        type: z.ZodLiteral<"local">;
        projectPath: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "local";
        projectPath: string;
    }, {
        type: "local";
        projectPath: string;
    }>, z.ZodObject<{
        type: z.ZodLiteral<"managed">;
        mastraPath: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "managed";
        mastraPath: string;
    }, {
        type: "managed";
        mastraPath: string;
    }>]>;
    references: z.ZodArray<z.ZodString, "many">;
    scripts: z.ZodArray<z.ZodString, "many">;
    assets: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
    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;
}, {
    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;
}>;
/**
 * Agent skill response schema - similar to skillSchema but with optional fields
 * for when full skill details aren't available (e.g., inherited skills without
 * direct access to the Skills instance).
 */
export declare const getAgentSkillResponseSchema: z.ZodObject<{
    name: z.ZodString;
    description: z.ZodString;
    license: z.ZodOptional<z.ZodString>;
    compatibility: z.ZodOptional<z.ZodUnknown>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
} & {
    path: z.ZodOptional<z.ZodString>;
    instructions: z.ZodOptional<z.ZodString>;
    source: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
        type: z.ZodLiteral<"external">;
        packagePath: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "external";
        packagePath: string;
    }, {
        type: "external";
        packagePath: string;
    }>, z.ZodObject<{
        type: z.ZodLiteral<"local">;
        projectPath: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "local";
        projectPath: string;
    }, {
        type: "local";
        projectPath: string;
    }>, z.ZodObject<{
        type: z.ZodLiteral<"managed">;
        mastraPath: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "managed";
        mastraPath: string;
    }, {
        type: "managed";
        mastraPath: string;
    }>]>>;
    references: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    scripts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    assets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
    name: string;
    description: string;
    path?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
    instructions?: string | undefined;
    source?: {
        type: "external";
        packagePath: string;
    } | {
        type: "local";
        projectPath: string;
    } | {
        type: "managed";
        mastraPath: string;
    } | undefined;
    license?: string | undefined;
    compatibility?: unknown;
    references?: string[] | undefined;
    scripts?: string[] | undefined;
    assets?: string[] | undefined;
}, {
    name: string;
    description: string;
    path?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
    instructions?: string | undefined;
    source?: {
        type: "external";
        packagePath: string;
    } | {
        type: "local";
        projectPath: string;
    } | {
        type: "managed";
        mastraPath: string;
    } | undefined;
    license?: string | undefined;
    compatibility?: unknown;
    references?: string[] | undefined;
    scripts?: string[] | undefined;
    assets?: string[] | undefined;
}>;
export declare const skillReferenceResponseSchema: z.ZodObject<{
    skillName: z.ZodString;
    referencePath: z.ZodString;
    content: z.ZodString;
}, "strip", z.ZodTypeAny, {
    skillName: string;
    content: string;
    referencePath: string;
}, {
    skillName: string;
    content: string;
    referencePath: string;
}>;
export declare const listReferencesResponseSchema: z.ZodObject<{
    skillName: z.ZodString;
    references: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
    skillName: string;
    references: string[];
}, {
    skillName: string;
    references: string[];
}>;
export declare const skillSearchResultSchema: z.ZodObject<{
    skillName: z.ZodString;
    source: z.ZodString;
    content: z.ZodString;
    score: z.ZodNumber;
    lineRange: z.ZodOptional<z.ZodObject<{
        start: z.ZodNumber;
        end: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        start: number;
        end: number;
    }, {
        start: number;
        end: number;
    }>>;
    scoreDetails: z.ZodOptional<z.ZodObject<{
        vector: z.ZodOptional<z.ZodNumber>;
        bm25: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        vector?: number | undefined;
        bm25?: number | undefined;
    }, {
        vector?: number | undefined;
        bm25?: number | undefined;
    }>>;
}, "strip", z.ZodTypeAny, {
    skillName: string;
    content: string;
    score: number;
    source: string;
    lineRange?: {
        start: number;
        end: number;
    } | undefined;
    scoreDetails?: {
        vector?: number | undefined;
        bm25?: number | undefined;
    } | undefined;
}, {
    skillName: string;
    content: string;
    score: number;
    source: string;
    lineRange?: {
        start: number;
        end: number;
    } | undefined;
    scoreDetails?: {
        vector?: number | undefined;
        bm25?: number | undefined;
    } | undefined;
}>;
export declare const searchSkillsResponseSchema: z.ZodObject<{
    results: z.ZodArray<z.ZodObject<{
        skillName: z.ZodString;
        source: z.ZodString;
        content: z.ZodString;
        score: z.ZodNumber;
        lineRange: z.ZodOptional<z.ZodObject<{
            start: z.ZodNumber;
            end: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            start: number;
            end: number;
        }, {
            start: number;
            end: number;
        }>>;
        scoreDetails: z.ZodOptional<z.ZodObject<{
            vector: z.ZodOptional<z.ZodNumber>;
            bm25: z.ZodOptional<z.ZodNumber>;
        }, "strip", z.ZodTypeAny, {
            vector?: number | undefined;
            bm25?: number | undefined;
        }, {
            vector?: number | undefined;
            bm25?: number | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        skillName: string;
        content: string;
        score: number;
        source: string;
        lineRange?: {
            start: number;
            end: number;
        } | undefined;
        scoreDetails?: {
            vector?: number | undefined;
            bm25?: number | undefined;
        } | undefined;
    }, {
        skillName: string;
        content: string;
        score: number;
        source: string;
        lineRange?: {
            start: number;
            end: number;
        } | undefined;
        scoreDetails?: {
            vector?: number | undefined;
            bm25?: number | undefined;
        } | undefined;
    }>, "many">;
    query: z.ZodString;
}, "strip", z.ZodTypeAny, {
    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;
    }[];
}, {
    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;
    }[];
}>;
export declare const skillsShSearchQuerySchema: z.ZodObject<{
    q: z.ZodString;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
    limit: number;
    q: string;
}, {
    q: string;
    limit?: number | undefined;
}>;
export declare const skillsShPopularQuerySchema: z.ZodObject<{
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
    offset: number;
    limit: number;
}, {
    offset?: number | undefined;
    limit?: number | undefined;
}>;
export declare const skillsShSkillSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    installs: z.ZodNumber;
    topSource: z.ZodString;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
    installs: number;
    topSource: string;
}, {
    name: string;
    id: string;
    installs: number;
    topSource: string;
}>;
export declare const skillsShSearchResponseSchema: z.ZodObject<{
    query: z.ZodString;
    searchType: z.ZodString;
    skills: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        installs: z.ZodNumber;
        topSource: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }, {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }>, "many">;
    count: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    skills: {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }[];
    query: string;
    searchType: string;
    count: number;
}, {
    skills: {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }[];
    query: string;
    searchType: string;
    count: number;
}>;
export declare const skillsShListResponseSchema: z.ZodObject<{
    skills: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        installs: z.ZodNumber;
        topSource: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }, {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }>, "many">;
    count: z.ZodNumber;
    limit: z.ZodNumber;
    offset: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    offset: number;
    limit: number;
    skills: {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }[];
    count: number;
}, {
    offset: number;
    limit: number;
    skills: {
        name: string;
        id: string;
        installs: number;
        topSource: string;
    }[];
    count: number;
}>;
export declare const skillsShPreviewQuerySchema: z.ZodObject<{
    owner: z.ZodString;
    repo: z.ZodString;
    path: z.ZodString;
}, "strip", z.ZodTypeAny, {
    path: string;
    owner: string;
    repo: string;
}, {
    path: string;
    owner: string;
    repo: string;
}>;
export declare const skillsShPreviewResponseSchema: z.ZodObject<{
    content: z.ZodString;
}, "strip", z.ZodTypeAny, {
    content: string;
}, {
    content: string;
}>;
export declare const skillsShInstallBodySchema: z.ZodObject<{
    owner: z.ZodString;
    repo: z.ZodString;
    skillName: z.ZodString;
}, "strip", z.ZodTypeAny, {
    skillName: string;
    owner: string;
    repo: string;
}, {
    skillName: string;
    owner: string;
    repo: string;
}>;
export declare const skillsShInstallResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    skillName: z.ZodString;
    installedPath: z.ZodString;
    filesWritten: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    skillName: string;
    installedPath: string;
    filesWritten: number;
}, {
    success: boolean;
    skillName: string;
    installedPath: string;
    filesWritten: number;
}>;
export declare const skillsShRemoveBodySchema: z.ZodObject<{
    skillName: z.ZodString;
}, "strip", z.ZodTypeAny, {
    skillName: string;
}, {
    skillName: string;
}>;
export declare const skillsShRemoveResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    skillName: z.ZodString;
    removedPath: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    skillName: string;
    removedPath: string;
}, {
    success: boolean;
    skillName: string;
    removedPath: string;
}>;
export declare const skillsShUpdateBodySchema: z.ZodObject<{
    skillName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    skillName?: string | undefined;
}, {
    skillName?: string | undefined;
}>;
export declare const skillsShUpdateResponseSchema: z.ZodObject<{
    updated: z.ZodArray<z.ZodObject<{
        skillName: z.ZodString;
        success: z.ZodBoolean;
        filesWritten: z.ZodOptional<z.ZodNumber>;
        error: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        success: boolean;
        skillName: string;
        error?: string | undefined;
        filesWritten?: number | undefined;
    }, {
        success: boolean;
        skillName: string;
        error?: string | undefined;
        filesWritten?: number | undefined;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    updated: {
        success: boolean;
        skillName: string;
        error?: string | undefined;
        filesWritten?: number | undefined;
    }[];
}, {
    updated: {
        success: boolean;
        skillName: string;
        error?: string | undefined;
        filesWritten?: number | undefined;
    }[];
}>;
//# sourceMappingURL=workspace.d.ts.map