import type { Database } from "bun:sqlite";
import type { Org, CreateOrgInput } from "../types/index.js";
export declare function createOrg(input: CreateOrgInput, db?: Database): Org;
export declare function getOrg(id: string, db?: Database): Org | null;
export declare function getOrgByName(name: string, db?: Database): Org | null;
export declare function listOrgs(db?: Database): Org[];
export declare function updateOrg(id: string, input: {
    name?: string;
    description?: string;
    metadata?: Record<string, unknown>;
}, db?: Database): Org;
export declare function deleteOrg(id: string, db?: Database): boolean;
//# sourceMappingURL=orgs.d.ts.map