import type { Db } from "@rudderhq/db";
import { executionWorkspaces } from "@rudderhq/db";
import type { ExecutionWorkspace } from "@rudderhq/shared";
type ExecutionWorkspaceRow = typeof executionWorkspaces.$inferSelect;
declare function toExecutionWorkspace(row: ExecutionWorkspaceRow): ExecutionWorkspace;
export declare function executionWorkspaceService(db: Db): {
    list: (orgId: string, filters?: {
        projectId?: string;
        projectWorkspaceId?: string;
        issueId?: string;
        status?: string;
        reuseEligible?: boolean;
    }) => Promise<ExecutionWorkspace[]>;
    getById: (id: string) => Promise<ExecutionWorkspace | null>;
    create: (data: typeof executionWorkspaces.$inferInsert) => Promise<ExecutionWorkspace | null>;
    update: (id: string, patch: Partial<typeof executionWorkspaces.$inferInsert>) => Promise<ExecutionWorkspace | null>;
};
export { toExecutionWorkspace };
//# sourceMappingURL=execution-workspaces.d.ts.map