import { IpfsCID, BlockchainCommonErrors, QuestionnairesContractError } from "@snickerdoodlelabs/objects"; import { ResultAsync } from "neverthrow"; import { IBaseContract } from "../interfaces/IBaseContract.js"; import { IERC7529Contract } from "../interfaces/IERC7529Contract.js"; import { ContractOverrides, WrappedTransactionResponse } from "../interfaces/objects"; export interface IQuestionnairesContract extends IBaseContract, IERC7529Contract { /** * Gets the array of registered questionnaires */ getQuestionnaires(): ResultAsync; /** * An authenticated function that allows for a new questionnaire CID to be added to the array * @param questionnaireCid the CID of a questionnaire to add to the discovery array * @param overrides for overriding transaction gas object */ addQuestionnaire(questionnaireCid: IpfsCID, overrides?: ContractOverrides): ResultAsync; /** * Removes a questionnaire from the questionnaires array * @param index Index of questionnaire to remove * @param overrides for overriding transaction gas object */ removeQuestionnaire(index: number, overrides?: ContractOverrides): ResultAsync; } export declare const IQuestionnairesContractType: unique symbol; //# sourceMappingURL=IQuestionnairesContract.d.ts.map