import { createPlanetScaleClient } from "./api.js";
export async function OrganizationRef(name, options = {}) {
    const api = createPlanetScaleClient(options);
    const organization = await api.getOrganization({
        path: {
            organization: typeof name === "string" ? name : name.id,
        },
    });
    return organization.data;
}
//# sourceMappingURL=organization.js.map