import type { _NSData } from "../Foundation/NSData.js";
import type { _NSError } from "../Foundation/NSError.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _LAPersistedRight } from "./LAPersistedRight.js";
import type { _LARight } from "./LARight.js";
export declare class _LARightStore extends _NSObject {
    static alloc(): _LARightStore;
    static new(): _LARightStore;
    init(): _LARightStore;
    /** Shared instance of */
    static sharedStore(): _LARightStore;
    /**
     * Fetches a right stored under the given identifier. Identifier associated with a previously stored right. Completion handler with the fetched right or an error on failure.
     */
    rightForIdentifier$completion$(identifier: _NSString, handler: ((arg0: _LAPersistedRight, arg1: _NSError) => void) | null): void;
    /**
     * Persists a right for later usage. instance to store. Identifier to be associated with the right. Useful for later retrieval. Completion handler with the persisted right or an error on failure.
     */
    saveRight$identifier$completion$(right: _LARight, identifier: _NSString, handler: ((arg0: _LAPersistedRight, arg1: _NSError) => void) | null): void;
    /**
     * Persists a right for later usage. instance to store. Identifier to be associated with the right. Useful for later retrieval. Secret data to be associated with the provided right. Completion handler with the persisted right or an error on failure.
     */
    saveRight$identifier$secret$completion$(right: _LARight, identifier: _NSString, secret: _NSData, handler: ((arg0: _LAPersistedRight, arg1: _NSError) => void) | null): void;
    /**
     * Removes a right from the persistent storage along with its associated resources. instance to remove. Completion handler with an error on failure.
     */
    removeRight$completion$(right: _LAPersistedRight, handler: ((error: _NSError) => void) | null): void;
    /**
     * Removes right with provided identifier from persistant storage. Identifier of instance to remove. Completion handler with an error on failure.
     */
    removeRightForIdentifier$completion$(identifier: _NSString, handler: ((error: _NSError) => void) | null): void;
    /**
     * Removes all rights stored by the client Completion handler with an error on failure.
     */
    removeAllRightsWithCompletion$(handler: ((error: _NSError) => void) | null): void;
}
