import { getPartnerStore } from "./store.js";
export async function listPartners({ authorizedPartnerId, } = {}) {
    const store = getPartnerStore();
    const partners = await store.values();
    return partners.filter((partner) => partner.approvedAt || partner.partnerId === authorizedPartnerId);
}
//# sourceMappingURL=list-partners.js.map