/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as FernRegistry from "../../../../../../../../../index";
export interface EndpointDefinition extends FernRegistry.api.v1.WithDescription, FernRegistry.api.v1.WithAvailability {
    auth: boolean | undefined;
    defaultEnvironment: FernRegistry.EnvironmentId | undefined;
    environments: FernRegistry.api.v1.Environment[] | undefined;
    method: FernRegistry.HttpMethod;
    /** This is the name of the endpoint. */
    id: FernRegistry.EndpointId;
    /**
     * The ID for the endpoint as declared within the IR, this is a unique name for the endpoint, whereas
     * path and method are not (specifically for the fern definition, consider chat and chat stream).
     * This is optional to remain backcompat with old definitions of yore.
     */
    originalEndpointId: string | undefined;
    name: string | undefined;
    path: FernRegistry.api.v1.register.EndpointPath;
    queryParameters: FernRegistry.api.v1.register.QueryParameter[];
    headers: FernRegistry.api.v1.register.Header[];
    request: FernRegistry.api.v1.register.HttpRequest | undefined;
    response: FernRegistry.api.v1.register.HttpResponse | undefined;
    errors: FernRegistry.api.v1.register.ErrorDeclaration[] | undefined;
    errorsV2: FernRegistry.api.v1.register.ErrorDeclarationV2[] | undefined;
    examples: FernRegistry.api.v1.register.ExampleEndpointCall[];
}
//# sourceMappingURL=EndpointDefinition.d.ts.map