import type { Client } from '../../clients/createClient.js'; import type { Transport } from '../../clients/transports/createTransport.js'; import type { RawArgsArray } from '../../strk-types/lib.js'; import { CairoCustomEnum } from '../../strk-utils/calldata/enum/CairoCustomEnum.js'; import type { Account } from '../../types/account.js'; import type { Chain } from '../../types/chain.js'; import type { StarkProfile } from '../../types/starknetId.js'; import type { Prettify } from '../../types/utils.js'; export type GetStarknetIdProfileDataParameters = Prettify<{ /** Address to get the profile data for. */ address: string; /** Whether to use a default profile picture if none is set. */ useDefaultPfp?: boolean; /** Optional verifier contract address. */ verifier?: string; /** Optional PFP verifier contract address. */ pfpVerifier?: string; /** Optional POP verifier contract address. */ popVerifier?: string; }>; export type GetStarknetIdProfileDataReturnType = StarkProfile; export type GetStarknetIdProfileDataErrorType = Error; export declare function getStarknetIdProfileData(client: Client, { address, useDefaultPfp, verifier, pfpVerifier, popVerifier, }: GetStarknetIdProfileDataParameters): Promise; export declare const getProfileDataCalldata: (address: string, namingContract: string, identityContract: string, verifierContract: string, pfpVerifierContract: string, popVerifierContract: string) => RawArgsArray; export declare const arrayReference: (call: number, pos: number) => CairoCustomEnum; export declare const hardcoded: (arg: string | number) => CairoCustomEnum; export declare const reference: (call: number, pos: number) => CairoCustomEnum; export declare const staticExecution: () => CairoCustomEnum; export declare const notEqual: (call: number, pos: number, value: number) => CairoCustomEnum; export declare const parseBase64Image: (metadata: string) => string; export declare const parseImageUrl: (url: string) => string; export declare const fetchImageUrl: (url: string) => Promise; //# sourceMappingURL=getStarknetIdProfileData.d.ts.map