/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

import { Event } from '@sussudio/base/common/event.mjs';
import { URI } from '@sussudio/base/common/uri.mjs';
import { IURITransformer } from '@sussudio/base/common/uriIpc.mjs';
import { IChannel, IServerChannel } from '@sussudio/base/parts/ipc/common/ipc.mjs';
import { IDownloadService } from './download.mjs';
export declare class DownloadServiceChannel implements IServerChannel {
	private readonly service;
	constructor(service: IDownloadService);
	listen(_: unknown, event: string, arg?: any): Event<any>;
	call(context: any, command: string, args?: any): Promise<any>;
}
export declare class DownloadServiceChannelClient implements IDownloadService {
	private channel;
	private getUriTransformer;
	readonly _serviceBrand: undefined;
	constructor(channel: IChannel, getUriTransformer: () => IURITransformer | null);
	download(from: URI, to: URI): Promise<void>;
}
