import type { Temporal } from "../types.js";
/**
 * Creates Temporal object from datetime string in RFC 2822's format.
 *
 * @param date datetime string in RFC 2822's format
 * @param TemporalClass Temporal class (such as `Temporal.PlainDateTime` or `Temporal.Instant`) which will be returned
 * @returns an instance of Temporal class specified in `TemporalClass` argument
 */
export declare function fromRfc2822<TemporalClassType extends typeof Temporal.Instant | typeof Temporal.ZonedDateTime | typeof Temporal.PlainDateTime>(date: string, TemporalClass: TemporalClassType): InstanceType<TemporalClassType>;
//# sourceMappingURL=fromRfc2822.d.ts.map