import { GoogleSearchConsoleClient, VerificationMethod, VerificationSite, VerificationToken, VerificationWebResource } from "../core/client.mjs"; /** * Resolve a Search Console site URL (`https://example.com/` or * `sc-domain:example.com`) to the Site Verification API's site shape. */ declare function siteUrlToVerificationSite(siteUrl: string): VerificationSite; /** Resolve a Search Console property and method to Google's verification target. */ declare function resolveVerificationTarget(siteUrl: string, method?: VerificationMethod): { site: VerificationSite; method: VerificationMethod; }; /** * Methods valid for a given site shape. SITE properties can use META/FILE/ * ANALYTICS/TAG_MANAGER; INET_DOMAIN must use DNS_TXT or DNS_CNAME. */ declare function verificationMethodsFor(site: VerificationSite): VerificationMethod[]; /** * Get the verification token Google expects to find on the site or DNS. */ declare function getVerificationToken(client: GoogleSearchConsoleClient, siteUrl: string, method: VerificationMethod): Promise; /** * Trigger Google to validate the placed token. Caller is responsible for * having placed the token (HTML tag / file / DNS record) before calling. */ declare function verifySite(client: GoogleSearchConsoleClient, siteUrl: string, method: VerificationMethod): Promise; /** * List all verified WebResources for the authed user. */ declare function listVerifiedSites(client: GoogleSearchConsoleClient): Promise; /** * Fetch a single verified WebResource by id. */ declare function getVerifiedSite(client: GoogleSearchConsoleClient, id: string): Promise; /** * Drop the calling user's verified ownership of a WebResource. The placed * verification token (meta tag / file / DNS record) MUST be removed first, * otherwise Google may auto-re-verify and the call will fail. Other owners * on the property are unaffected. */ declare function unverifySite(client: GoogleSearchConsoleClient, id: string): Promise; export { getVerificationToken, getVerifiedSite, listVerifiedSites, resolveVerificationTarget, siteUrlToVerificationSite, unverifySite, verificationMethodsFor, verifySite };