import { Provider, PublicProvider } from '../provider'; import { Operation } from '../operation'; /** * Makes a deweb smart contract immutable * * @remarks WARNING This operation is irreversible. Once made immutable, you will not be able to update this site anymore. * @param address - The deweb smart contract address * @param provider - The provider to use * @param waitFinal - Whether to wait for the final execution or the speculative execution. False by default. * @returns The operation * @example * ```typescript * const operation = await makeImmutable(address, provider) * await operation.waitFinalExecution() * ``` */ export declare function makeImmutable(address: string, provider: Provider, waitFinal?: boolean): Promise; /** * indicates among a list of contract addresses if they are immutable * @remarks This function allows to check the immutable property of several contract addresses in a single call * @param contractAddresses - The list of deweb smart contract addresses * @param provider - The provider to use * @param isFinal - Whether to check if the contract is immutable in the final state or in the pending state. False by default. * @returns - List of boolean values indicating if the respective contract is immutable */ export declare function areImmutables(provider: Provider, contractAddresses: string[], isFinal?: boolean): Promise; /** * Indicates if a given contract address is immutable * @param address - The deweb smart contract address * @param provider - The provider to use * @param isFinal - Whether to check if the contract is immutable in the final state or in the pending state. False by default. * @returns True if the contract is immutable, false otherwise */ export declare function isImmutable(address: string, provider: PublicProvider, isFinal?: boolean): Promise;