import type { _ASCredentialServiceIdentifier } from "./ASCredentialServiceIdentifier.js";
import type { _NSString } from "../Foundation/NSString.js";
export interface _ASCredentialIdentity {
    /** @abstract Get the service identifier. */
    serviceIdentifier?(): _ASCredentialServiceIdentifier;
    /** @abstract Get the user. */
    user?(): _NSString;
    /**
     * @abstract Get the record identifier. @discussion You can utilize the record identifier to uniquely identify the credential identity in your local database.
     */
    recordIdentifier?(): _NSString | null;
    /**
     * @abstract Get or set the rank of the credential identity object. @discussion The system may utilize the rank to decide which credential identity precedes the other if two identities have the same service identifier. A credential identity with a larger rank value precedes one with a smaller value if both credential identities have the same service identifier. The default value of this property is 0.
     */
    rank?(): number;
    setRank$?(value: number): void;
}
