import { type BalanceProvider, type BalanceQuery, type BalanceResult, type DeliveryStatusQuery, type DeliveryStatusResult, KMsgError, type MessageType, type Provider, type ProviderHealthStatus, type Result, type SendOptions, type SendResult } from "@k-msg/core";
import type { SolapiSdkClient } from "./solapi.internal.types";
import type { SolapiConfig } from "./types/solapi";
export declare class SolapiProvider implements Provider, BalanceProvider {
    readonly id = "solapi";
    readonly name = "SOLAPI Messaging Provider";
    readonly supportedTypes: readonly MessageType[];
    private readonly config;
    private readonly client;
    getOnboardingSpec(): import("@k-msg/core").ProviderOnboardingSpec;
    constructor(config: SolapiConfig, client?: SolapiSdkClient);
    healthCheck(): Promise<ProviderHealthStatus>;
    send(options: SendOptions): Promise<Result<SendResult, KMsgError>>;
    getDeliveryStatus(query: DeliveryStatusQuery): Promise<Result<DeliveryStatusResult | null, KMsgError>>;
    getBalance(query?: BalanceQuery): Promise<Result<BalanceResult, KMsgError>>;
}
export declare const createSolapiProvider: (config: SolapiConfig) => SolapiProvider;
export declare const createDefaultSolapiProvider: () => SolapiProvider;
export declare class SolapiProviderFactory {
    static create(config: SolapiConfig): SolapiProvider;
    static createDefault(): SolapiProvider;
}
export declare function initializeSolapi(): void;
