import type { DB } from '@matrixai/db'; import type Logger from '@matrixai/logger'; import type { JSONObject, JSONRPCRequest } from '@matrixai/rpc'; import type { ContextTimed } from '@matrixai/contexts'; import type ACL from '../../../acl/ACL.js'; import type VaultManager from '../../../vaults/VaultManager.js'; import type { JSONValue } from '../../../types.js'; import { ReadableStream } from 'stream/web'; import { RawHandler } from '@matrixai/rpc'; /** * Gets the git info of a vault. */ declare class VaultsGitInfoGet extends RawHandler<{ db: DB; vaultManager: VaultManager; acl: ACL; logger: Logger; }> { handle: (input: [JSONRPCRequest, ReadableStream], _cancel: (reason?: any) => void, meta: Record, ctx: ContextTimed) => Promise<[JSONObject, ReadableStream]>; } export default VaultsGitInfoGet;