import { Destination as Destination$1, SendHeaders, Mapping as Mapping$1, SendDataValue } from '@walkeros/core';
import { DestinationWeb, SendWebTransport, sendWeb } from '@walkeros/web-core';

interface Settings {
    url: string;
    headers?: SendHeaders;
    method?: string;
    transform?: Transform;
    transport?: SendWebTransport;
}
type InitSettings = Partial<Settings>;
interface Mapping {
}
interface Env extends DestinationWeb.Env {
    sendWeb?: typeof sendWeb;
}
type Types = Destination$1.Types<Settings, Mapping, Env, InitSettings>;
type Destination = DestinationWeb.Destination<Types>;
type Config = DestinationWeb.Config<Types>;
type Rule = Mapping$1.Rule<Mapping>;
type Rules = Mapping$1.Rules<Rule>;
type Transform = (data?: unknown, config?: Config, mapping?: Mapping$1.Rule<Mapping>) => SendDataValue;

type index_Config = Config;
type index_Destination = Destination;
type index_Env = Env;
type index_InitSettings = InitSettings;
type index_Mapping = Mapping;
type index_Rule = Rule;
type index_Rules = Rules;
type index_Settings = Settings;
type index_Transform = Transform;
type index_Types = Types;
declare namespace index {
  export type { index_Config as Config, index_Destination as Destination, index_Env as Env, index_InitSettings as InitSettings, index_Mapping as Mapping, index_Rule as Rule, index_Rules as Rules, index_Settings as Settings, index_Transform as Transform, index_Types as Types };
}

declare const destinationAPI: Destination;

export { index as DestinationAPI, destinationAPI as default, destinationAPI };
