///
///
import * as Eulith from "./index";
export declare module LightSimulation {
interface Proposal {
proposalId: number;
toEnable: boolean;
safeAddress: string;
networkId: number;
proposerSub: string;
safeOwnerSub: string;
status: string;
}
function createProposal(provider: Eulith.Provider, safeAddress: string, chainId: number, toEnable: boolean): Promise;
interface SubmitResponse {
proposal: Proposal;
approved: boolean;
}
function submitSignature(provider: Eulith.Provider, signer: Eulith.Signing.SigningService, proposalId: number): Promise;
function getActiveProposals(provider: Eulith.Provider): Promise;
function deleteProposal(provider: Eulith.Provider, proposalId: number): Promise;
const STATUS_ACTIVE = "active";
const STATUS_DELETED = "deleted";
const STATUS_APPROVED = "approved";
module Eip712 {
interface HashInput {
safe_address: string;
chain_id: number;
proposer_id: number;
safe_owner_id: number;
to_enable: boolean;
proposal_id: number;
}
function getTypedDataHash(hashInput: HashInput): Buffer;
function getTypedData(hashInput: HashInput): Eulith.Signing.TypedData;
}
}