///
import type { AccountInfo, KeyedAccountInfo, PublicKey } from "@solana/web3.js";
import type { SailAccountLoadError } from "./errors/errors";
/**
* Account id + info.
* This is null if the account could not be found, or undefined
* if the data is still loading.
*/
export declare type AccountDatum = KeyedAccountInfo | null | undefined;
/**
* Result of the fetching of an account.
*/
export interface AccountFetchResult {
data: KeyedAccountInfo | null;
error?: SailAccountLoadError;
}
/**
* Parsed account with additional info.
*/
export declare type ParsedAccountInfo = {
accountId: PublicKey;
accountInfo: AccountInfo;
raw: Buffer;
};
export declare type ParsedAccountDatum = ParsedAccountInfo | undefined | null;
//# sourceMappingURL=types.d.ts.map