import { CarrierNameOrId } from '@myparcel/constants';
import { AbstractPublicEndpoint } from '../../../model/endpoint/AbstractPublicEndpoint';
import { CreateDefinition } from '../../../model/endpoint/AbstractEndpoint.types';
import { Carrier } from './Carrier.types';

export type GetCarrierDefinition = CreateDefinition<{
    name: typeof GetCarrier.name;
    path: {
        carrier: CarrierNameOrId;
    };
    response: [Carrier];
}>;
/**
 * Get a single carrier.
 */
export declare class GetCarrier extends AbstractPublicEndpoint<GetCarrierDefinition> {
    readonly name = "getCarrier";
    readonly path = "carriers/:carrier";
    readonly property = "carriers";
}
