///
import { web3 } from "@coral-xyz/anchor";
export declare type CreateStorageResponse = {
shdw_bucket: string;
transaction_signature: string;
};
export declare type ShadowDriveResponse = {
message: string;
transaction_signature?: string;
};
export declare type ShadowUploadResponse = {
finalized_locations: Array;
message: string;
upload_errors: Array;
};
export declare type ShadowEditResponse = {
finalized_location: string;
};
export declare type UploadError = {
file: string;
storage_account: string;
error: string;
};
export declare type ShadowBatchUploadResponse = {
fileName: string;
status: string;
location: string;
};
export declare type ListObjectsResponse = {
keys: string[];
};
export declare type StorageAccountInfo = {
storage_account: web3.PublicKey;
reserved_bytes: number;
current_usage: number;
immutable: boolean;
to_be_deleted: boolean;
delete_request_epoch: number;
owner1: web3.PublicKey;
account_counter_seed: number;
creation_time: number;
creation_epoch: number;
last_fee_epoch: number;
identifier: string;
version: "V1" | "V2";
};
export declare type ShadowFile = {
name?: string;
file: Buffer;
};
//# sourceMappingURL=index.d.ts.map