import { Wallet } from "ethers"; import { PinataOptions } from "../internal/pinata/pinata/pinata"; import { CommunityConfig } from "../config"; export interface ProfileMetadata { username: string; name?: string; description?: string; } /** * Profile images * @param small - The small image (128x128) * @param medium - The medium image (512x512) * @param large - The large image (1024x1024) * * Ideally, you have a good quality image and you would like a medium and small version of it. * But if you only provide large, then the small and medium will be the same as the large. */ export interface ProfileImages { small?: File | string; medium?: File | string; large: File | string; } /** * Upsert a profile * @param community - The community config * @param signer - The signer * @param pinataOptions - The pinata options * @param account - The account * @param metadata - The profile metadata * @param images - The profile images * * Intended for backend use only since it uses pinata options */ export declare const upsertProfile: (community: CommunityConfig, signer: Wallet, pinataOptions: PinataOptions, account: string, metadata: ProfileMetadata, images?: ProfileImages, parent?: string | null) => Promise; export declare const deleteProfile: (community: CommunityConfig, signer: Wallet, pinataOptions: PinataOptions, account: string) => Promise; //# sourceMappingURL=upsert.d.ts.map