default: {
    add: (
        organization: { name: string; owners: string[] },
    ) => Promise<INewOrganization>;
    del: (organization: { id: string }) => Promise<void>;
    get: <T extends TOrganizationGet>(
        id: string,
        data: T,
    ) => Promise<undefined | IOrganization<T>>;
    getAll: <T extends TOrganizationGet>(
        data: T,
    ) => Promise<IOrganization<T>[]>;
    update: (organization: { id: string }, data: any[]) => Promise<void>;
} = ...

Type declaration