amis-rpc-design/node_modules/@react-native-community/cli-tools/build/doclink.d.ts

26 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
type Platforms = 'android' | 'ios';
export declare function getOS(): string;
interface Overrides {
os?: string;
platform?: string;
hash?: string;
version?: string;
}
interface Other {
[key: string]: string;
}
export declare const docs: (path: string, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
export declare const contributing: (path: string, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
export declare const community: (path: string, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
export declare const showcase: (path: string, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
export declare const blog: (path: string, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
/**
* When the user builds, we should define the target platform globally.
*/
export declare function setPlatform(target: Platforms): void;
/**
* Can we figure out what version of react native they're using?
*/
export declare function setVersion(reactNativeVersion: string): void;
export {};
//# sourceMappingURL=doclink.d.ts.map