type NotificationOptions = {
    text: string;
    title?: string | undefined;
    image?: string | undefined;
    onclick?: (() => void) | undefined;
    ondone?: (() => void) | undefined;
};
type Notification = {
    (text: string, title?: string, image?: string, onclick?: () => void): {
        remove: () => Promise<true>;
    };
    (options: NotificationOptions): {
        remove: () => Promise<true>;
    };
};
declare const notification: Notification;
type Selectors = {
    text: string;
    title: string;
    image: string;
};
declare const findNotifications: (selectors: Partial<Selectors>) => {
    /** Remove all notifications matching the selectors */
    remove: () => void;
    /** Click all notifications matching the selectors */
    click: () => void;
    /** Close all notifications matching the selectors */
    close: () => void;
    /** Count the amount of notifications matching the selectors */
    count: () => number;
};
export { notification as GM_notification, findNotifications, type Notification };
