import { KrispNoiseFilterProcessor, NoiseFilterOptions } from '@livekit/krisp-noise-filter';
import { TrackReferenceOrPlaceholder } from '../../../../packages/core/dist/index.d.ts';
/**
 * @alpha
 */
export interface useKrispNoiseFilterOptions {
    /**
     * by default the hook will use the localParticipant's microphone track publication.
     * You can override this behavior by passing in a target TrackReference here
     */
    trackRef?: TrackReferenceOrPlaceholder;
    filterOptions?: NoiseFilterOptions;
}
/**
 * This hook is a convenience helper for enabling Krisp Enhanced Audio Noise Cancellation on LiveKit audio tracks.
 * It returns a `setNoiseFilterEnabled` method to conveniently toggle between enabled and disabled states.
 *
 * @remarks Krisp noise filter is a feature that's only supported on LiveKit cloud plans
 * @alpha
 * @example
 * ```tsx
 *   const krisp = useKrispNoiseFilter();
 *   return <input
        type="checkbox"
        onChange={(ev) => krisp.setNoiseFilterEnabled(ev.target.checked)}
        checked={krisp.isNoiseFilterEnabled}
        disabled={krisp.isNoiseFilterPending}
      />
 * ```
 */
export declare function useKrispNoiseFilter(options?: useKrispNoiseFilterOptions): {
    setNoiseFilterEnabled: (enable: boolean) => Promise<void>;
    isNoiseFilterEnabled: boolean;
    isNoiseFilterPending: boolean;
    processor: KrispNoiseFilterProcessor | undefined;
};
//# sourceMappingURL=useKrispNoiseFilter.d.ts.map