import { FactoryStorageDomain } from '@mastra/core/storage'; import type { CollectionSchema } from '@mastra/core/storage'; export interface FactoryProject { id: string; orgId: string; createdBy: string; name: string; description: string | null; /** Default model for sessions/runs started under this Factory (null = harness default). */ defaultModelId: string | null; /** Whether new Slack sessions create Work-board items for this Factory. */ slackWorkItemsEnabled: boolean; /** Whether rules may start agent runs on their own; off, a run waits for approval on its card. */ autoRunEnabled: boolean; /** Whether the Factory answers a run's plan itself instead of waiting for a person. */ autoApprovePlans: boolean; createdAt: Date; updatedAt: Date; } export interface CreateFactoryProjectInput { name: string; description?: string | null; defaultModelId?: string | null; } export interface UpdateFactoryProjectInput { name?: string; description?: string | null; defaultModelId?: string | null; slackWorkItemsEnabled?: boolean; autoRunEnabled?: boolean; autoApprovePlans?: boolean; } export declare const FACTORY_PROJECTS_SCHEMA: CollectionSchema; export declare class FactoryProjectsStorage extends FactoryStorageDomain { #private; constructor(); init(): Promise; dangerouslyClearAll(): Promise; create({ orgId, userId, input, }: { orgId: string; userId: string; input: CreateFactoryProjectInput; }): Promise; list({ orgId }: { orgId: string; }): Promise; listAll(): Promise; get({ orgId, id }: { orgId: string; id: string; }): Promise; getById({ id }: { id: string; }): Promise; update({ orgId, id, input, }: { orgId: string; id: string; input: UpdateFactoryProjectInput; }): Promise; delete({ orgId, id }: { orgId: string; id: string; }): Promise; } //# sourceMappingURL=base.d.ts.map