import { ProjectResultStruct } from "./project.js"; import { Config } from "./uplink.js"; import { S3Credentials } from "./types.js"; export declare class AccessResultStruct { access: any; constructor(access: any); openProject(maximumConcurrent?: number): Promise; configOpenProject(config: Config, maximumConcurrent?: number): Promise; share(permission: Record, sharePrefixListArray: Array, sharePrefixListArraylength: number): Promise; serialize(): Promise; /** * Create s3 credentials by accessGrant * Input: access token, host (default https://auth.storjshare.io), public flag (default false) * Output: {accessKeyId, secretKey, endpoint} */ registerS3Credentials(access: string, host?: string, isPublic?: boolean): Promise; overrideEncryptionKey(bucket: string, prefix: string, encryption_key: any): Promise; }