/**
 * Generic fetch wrapper for HTTP requests
 *
 * This is a simple wrapper around fetch API. Consuming apps can extend this
 * or provide their own authentication headers by configuring the authHeader function.
 */
export interface AuthConfig {
    getToken?: () => string | null;
    getApiBaseUrl?: () => string | null;
    onUnauthorized?: () => void;
}
/**
 * Configure authentication for fetch wrapper
 * @param config - Auth configuration
 */
export declare function configureAuth(config: AuthConfig): void;
export declare const fetchWrapper: {
    get: (url: string, body?: object) => Promise<any>;
    post: (url: string, body?: object) => Promise<any>;
    put: (url: string, body?: object) => Promise<any>;
    delete: (url: string, body?: object) => Promise<any>;
};
//# sourceMappingURL=fetch-wrapper.d.ts.map